Initial clippy fixes as discussed in #587

This commit is contained in:
Ben Wallis
2020-06-08 19:37:41 +01:00
parent 8b2b9e45ec
commit de37de7f45
23 changed files with 70 additions and 84 deletions

View File

@ -150,7 +150,7 @@ impl SpeechBubble {
{
match &self.message {
SpeechBubbleMessage::Plain(m) => m.to_string(),
SpeechBubbleMessage::Localized(k, i) => i18n_variation(k.to_string(), *i).to_string(),
SpeechBubbleMessage::Localized(k, i) => i18n_variation(k.to_string(), *i),
}
}
}