Fix Clippy

This commit is contained in:
Temirkhan Myrzamadi 2020-02-24 15:19:03 +06:00
parent 0b3e2994b2
commit 5abaeb2c00
2 changed files with 4 additions and 2 deletions

4
.gitignore vendored
View file

@ -1,2 +1,4 @@
target/ target
Cargo.lock Cargo.lock
.idea
.vscode

View file

@ -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;