mirror of
https://github.com/teloxide/teloxide.git
synced 2024-12-31 16:40:37 +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
|
||||
.idea
|
||||
.vscode
|
||||
|
|
|
@ -85,7 +85,7 @@ pub fn derive_telegram_command_enum(tokens: TokenStream) -> TokenStream {
|
|||
info.description
|
||||
.as_deref()
|
||||
.map(|e| format!(" - {}", e))
|
||||
.unwrap_or(String::new())
|
||||
.unwrap_or_default()
|
||||
});
|
||||
|
||||
let ident = &input.ident;
|
||||
|
|
Loading…
Reference in a new issue