chore: nightly clippy fixes

This commit is contained in:
link2xt
2025-06-17 21:35:13 +00:00
committed by l
parent 0568393157
commit 139fbfae85
14 changed files with 28 additions and 28 deletions

View File

@@ -146,7 +146,7 @@ impl Summary {
}
/// Returns the [`Summary::text`] attribute truncated to an approximate length.
pub fn truncated_text(&self, approx_chars: usize) -> Cow<str> {
pub fn truncated_text(&self, approx_chars: usize) -> Cow<'_, str> {
truncate(&self.text, approx_chars)
}
}