mirror of
https://github.com/teloxide/teloxide.git
synced 2025-03-13 19:27:52 +01:00
Fix typo (seriosly? why haven't I built it before? no one knows)
This commit is contained in:
parent
08bf30296c
commit
2009e78b5f
1 changed files with 2 additions and 2 deletions
|
@ -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> {
|
||||
|
|
Loading…
Add table
Reference in a new issue