mirror of
https://github.com/teloxide/teloxide.git
synced 2024-12-22 22:46:39 +01:00
fmt
This commit is contained in:
parent
7fea75f2d7
commit
4ae4539631
2 changed files with 3 additions and 3 deletions
|
@ -1,6 +1,6 @@
|
|||
use std::{future::Future, pin::Pin};
|
||||
#[cfg(not(feature = "never-type"))]
|
||||
use std::convert::Infallible;
|
||||
use std::{future::Future, pin::Pin};
|
||||
|
||||
use async_trait::async_trait;
|
||||
|
||||
|
|
|
@ -14,14 +14,14 @@ impl InputFile {
|
|||
|
||||
pub fn url<T>(url: T) -> Self
|
||||
where
|
||||
T: Into<String>
|
||||
T: Into<String>,
|
||||
{
|
||||
Self::Url(url.into())
|
||||
}
|
||||
|
||||
pub fn file_id<T>(file_id: T) -> Self
|
||||
where
|
||||
T: Into<String>
|
||||
T: Into<String>,
|
||||
{
|
||||
Self::FileId(file_id.into())
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue