Fix typo (seriosly? why haven't I built it before? no one knows)

This commit is contained in:
Waffle 2019-11-08 11:13:36 +03:00
parent 08bf30296c
commit 2009e78b5f

View file

@ -19,11 +19,11 @@ impl InputFile {
Self::Url(url.into())
}
pub fn file_id(file_id: T) -> Self
pub fn file_id<T>(file_id: T) -> Self
where
T: Into<String>
{
Self::FileId(fiel_id.into())
Self::FileId(file_id.into())
}
pub fn as_file(&self) -> Option<&PathBuf> {