diff --git a/src/message_log.rs b/src/message_log.rs index 33f6bc3..17ac450 100644 --- a/src/message_log.rs +++ b/src/message_log.rs @@ -349,7 +349,7 @@ impl<'a> MessageLog { let messages = channel .messages .iter() - .flat_map(|irc_message| Self::map_irc_message(current_nickname, irc_message)) + .flat_map(|irc_message| Self::view_irc_message(current_nickname, irc_message)) .collect::>(); container(column![ @@ -375,7 +375,7 @@ impl<'a> MessageLog { } } - fn map_irc_message( + fn view_irc_message( current_nickname: &str, irc_message: &IrcMessage, ) -> Option> {