From 38c8813bfc42ef96eeb29c8bc3d2733694ea653c Mon Sep 17 00:00:00 2001 From: Christian Meissl Date: Sat, 14 Dec 2024 22:09:28 +0100 Subject: [PATCH] backend: fix clippy lints --- wayland-backend/src/debug.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wayland-backend/src/debug.rs b/wayland-backend/src/debug.rs index 322961c2b50..24c2fc3f4c3 100644 --- a/wayland-backend/src/debug.rs +++ b/wayland-backend/src/debug.rs @@ -58,7 +58,7 @@ pub fn print_send_message( pub(crate) struct DisplaySlice<'a, D>(pub &'a [D]); -impl<'a, D: Display> Display for DisplaySlice<'a, D> { +impl Display for DisplaySlice<'_, D> { #[cfg_attr(coverage, coverage(off))] fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { let mut it = self.0.iter();