Browse Source

darkirc: satisfy clippy

dasman 1 year ago
parent
commit
efd3d2a3cd
1 changed files with 1 additions and 1 deletions
  1. 1 1
      bin/darkirc/src/irc/command.rs

+ 1 - 1
bin/darkirc/src/irc/command.rs

@@ -731,7 +731,7 @@ impl Client {
             error!("Failed to rehash server: {}", e);
         }
 
-        Ok(vec![ReplyType::Server((RPL_REHASHING, format!("Config reloaded!")))])
+        Ok(vec![ReplyType::Server((RPL_REHASHING, "Config reloaded!".to_string()))])
     }
 
     /// `TOPIC <channel> [<topic>]`