diff options
Diffstat (limited to 'src/message_bar.rs')
-rw-r--r-- | src/message_bar.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/message_bar.rs b/src/message_bar.rs index bbd705aa..d7f27e7e 100644 --- a/src/message_bar.rs +++ b/src/message_bar.rs @@ -190,7 +190,7 @@ impl MessageBuffer { .messages .try_iter() .take(self.messages.len()) - .filter(|m| m.topic().map(|s| s.as_str()) != Some(topic)) + .filter(|m| m.topic().map(String::as_str) != Some(topic)) { let _ = self.tx.send(msg); } |