Sfoglia il codice sorgente

darkirc/irc/mod: chore clippy

skoupidi 1 anno fa
parent
commit
4fbf5fc8e1
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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,