makes clippy happy

This commit is contained in:
Tamo 2021-10-26 13:43:49 +02:00 committed by marin postma
parent 5508c6c154
commit 6b34318274
No known key found for this signature in database
GPG key ID: 6088B7721C3E39F9
4 changed files with 9 additions and 7 deletions

View file

@ -128,7 +128,7 @@ Anonymous telemetry: \"Enabled\""
}
let analytics = analytics.to_string();
if analytics != "" {
if !analytics.is_empty() {
eprintln!("Unique User ID:\t\"{}\"", analytics);
}