From d966d6e5933c77fd18e7bbcf044ac21148151e8c Mon Sep 17 00:00:00 2001 From: Wolfgang Welz Date: Fri, 28 Jun 2024 20:22:56 +0200 Subject: [PATCH] chore clippy (#19) --- crates/rlp/src/decode.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/crates/rlp/src/decode.rs b/crates/rlp/src/decode.rs index 68fb958..6988ec7 100644 --- a/crates/rlp/src/decode.rs +++ b/crates/rlp/src/decode.rs @@ -126,9 +126,9 @@ macro_rules! wrap_impl { wrap_impl! { #[cfg(feature = "arrayvec")] [const N: usize] >::from([u8; N]), - [T: ?Sized + Decodable] >::new(T), - [T: ?Sized + Decodable] >::new(T), - [T: ?Sized + Decodable] >::new(T), + [T: Decodable] >::new(T), + [T: Decodable] >::new(T), + [T: Decodable] >::new(T), } impl Decodable for alloc::borrow::Cow<'_, T>