Browse Source

Remove unnecessary mut

Julian Ganz 2 months ago
parent
commit
1cc1208bd9
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/display/message.rs

+ 1 - 1
src/display/message.rs

@@ -49,7 +49,7 @@ impl<'a,> TokenExpander for MessageFmtToken<'a> {
                 .clone()
                 .into_commit()
                 .ok()
-                .and_then(|mut m| m.summary().map(String::from))
+                .and_then(|m| m.summary().map(String::from))
                 .unwrap_or_default()],
             &MessageFmtToken::Author => tokenvec![message
                 .author()