Make clippy happier (#72)

This commit is contained in:
Armin Ronacher 2025-01-19 00:31:21 +01:00 committed by GitHub
parent 7e15c44de1
commit 157f01564d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 13 additions and 17 deletions

View file

@ -489,7 +489,7 @@ mod text_additions {
}
}
impl<'s, T: DiffableStr + ?Sized> fmt::Display for Change<&'s T> {
impl<T: DiffableStr + ?Sized> fmt::Display for Change<&T> {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
write!(
f,