mirror of
https://github.com/teloxide/teloxide.git
synced 2025-03-14 11:44:04 +01:00
Fix clippy warning
This commit is contained in:
parent
178b4ee70d
commit
e8def77a1a
1 changed files with 1 additions and 1 deletions
|
@ -176,7 +176,7 @@ impl IntoFormValue for InputFile {
|
|||
InputFile::File(path) => Some(FormValue::File(path.clone())),
|
||||
InputFile::Memory { file_name, data } => Some(FormValue::Memory {
|
||||
file_name: file_name.clone(),
|
||||
data: data.clone().into(),
|
||||
data: data.clone(),
|
||||
}),
|
||||
InputFile::Url(url) => Some(FormValue::Str(url.clone())),
|
||||
InputFile::FileId(file_id) => Some(FormValue::Str(file_id.clone())),
|
||||
|
|
Loading…
Add table
Reference in a new issue