Explorar el Código

darkirc/irc/mod: chore clippy

skoupidi hace 1 año
padre
commit
4fbf5fc8e1
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      bin/darkirc/src/irc/mod.rs

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

@@ -56,7 +56,7 @@ pub struct OldPrivmsg {
 }
 
 impl OldPrivmsg {
-    pub fn into_new(&self) -> Privmsg {
+    pub fn into_new(self) -> Privmsg {
         Privmsg {
             version: 0,
             msg_type: 0,