mirror of
https://github.com/teloxide/teloxide.git
synced 2025-01-05 18:26:59 +01:00
Fix Clippy
This commit is contained in:
parent
0b3e2994b2
commit
5abaeb2c00
2 changed files with 4 additions and 2 deletions
4
.gitignore
vendored
4
.gitignore
vendored
|
@ -1,2 +1,4 @@
|
||||||
target/
|
target
|
||||||
Cargo.lock
|
Cargo.lock
|
||||||
|
.idea
|
||||||
|
.vscode
|
||||||
|
|
|
@ -85,7 +85,7 @@ pub fn derive_telegram_command_enum(tokens: TokenStream) -> TokenStream {
|
||||||
info.description
|
info.description
|
||||||
.as_deref()
|
.as_deref()
|
||||||
.map(|e| format!(" - {}", e))
|
.map(|e| format!(" - {}", e))
|
||||||
.unwrap_or(String::new())
|
.unwrap_or_default()
|
||||||
});
|
});
|
||||||
|
|
||||||
let ident = &input.ident;
|
let ident = &input.ident;
|
||||||
|
|
Loading…
Reference in a new issue