cargo clippy

This commit is contained in:
Stephan Dilly 2021-09-10 10:01:03 +02:00
parent 23e52b7c87
commit 1a8caa32d4

View File

@ -404,7 +404,7 @@ mod tests {
width: usize,
) -> Vec<Cow<'_, str>> {
let (wrapped_title, wrapped_message) =
DetailsComponent::wrap_commit_details(&message, width);
DetailsComponent::wrap_commit_details(message, width);
[&wrapped_title[..], &wrapped_message[..]].concat()
}