From 7128a03ed758fa7b1fddd0018ef3e39c0941434f Mon Sep 17 00:00:00 2001 From: Schneems Date: Wed, 11 Dec 2024 12:54:52 -0600 Subject: [PATCH] Clippy auto format --- commons/src/display.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/commons/src/display.rs b/commons/src/display.rs index f246aa23..c2d741f2 100644 --- a/commons/src/display.rs +++ b/commons/src/display.rs @@ -53,7 +53,7 @@ impl<'a, L: AsRef> SentenceList<'a, L> { } } -impl<'a, L: AsRef> Default for SentenceList<'a, L> { +impl> Default for SentenceList<'_, L> { fn default() -> Self { Self { list: Default::default(), @@ -63,7 +63,7 @@ impl<'a, L: AsRef> Default for SentenceList<'a, L> { } } -impl<'a, L: AsRef> Display for SentenceList<'a, L> { +impl> Display for SentenceList<'_, L> { fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { let SentenceList { list,