Explorar el Código

darkirc: satisfy clippy

dasman hace 1 año
padre
commit
efd3d2a3cd
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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>]`