Open museun opened 3 years ago
Commands::from(irc_msg) and Commands::from_irc(irc_msg) do something entirely different.
Commands::from(irc_msg)
Commands::from_irc(irc_msg)
the From<IrcMessage> for Commands impl will always produce Commands::Raw while the from_irc method will actually do the messages
From<IrcMessage> for Commands
Commands::Raw
from_irc
Commands::from(irc_msg)
andCommands::from_irc(irc_msg)
do something entirely different.the
From<IrcMessage> for Commands
impl will always produceCommands::Raw
while thefrom_irc
method will actually do the messages