Skip to content

Commit

Permalink
chore clippy (#19)
Browse files Browse the repository at this point in the history
  • Loading branch information
Wollac authored Jun 28, 2024
1 parent b6a26dc commit d966d6e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions crates/rlp/src/decode.rs
Original file line number Diff line number Diff line change
Expand Up @@ -126,9 +126,9 @@ macro_rules! wrap_impl {
wrap_impl! {
#[cfg(feature = "arrayvec")]
[const N: usize] <arrayvec::ArrayVec<u8, N>>::from([u8; N]),
[T: ?Sized + Decodable] <alloc::boxed::Box<T>>::new(T),
[T: ?Sized + Decodable] <alloc::rc::Rc<T>>::new(T),
[T: ?Sized + Decodable] <alloc::sync::Arc<T>>::new(T),
[T: Decodable] <alloc::boxed::Box<T>>::new(T),
[T: Decodable] <alloc::rc::Rc<T>>::new(T),
[T: Decodable] <alloc::sync::Arc<T>>::new(T),
}

impl<T: ?Sized + alloc::borrow::ToOwned> Decodable for alloc::borrow::Cow<'_, T>
Expand Down

0 comments on commit d966d6e

Please sign in to comment.