Skip to content

Commit

Permalink
Remove ignored ?Sized bound (#1114)
Browse files Browse the repository at this point in the history
  • Loading branch information
divergentdave authored Sep 5, 2024
1 parent db5b482 commit df91043
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/codec.rs
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ pub trait ParameterizedDecode<P>: Sized {

/// Provide a blanket implementation so that any [`Decode`] can be used as a
/// `ParameterizedDecode<T>` for any `T`.
impl<D: Decode + ?Sized, T> ParameterizedDecode<T> for D {
impl<D: Decode, T> ParameterizedDecode<T> for D {
fn decode_with_param(
_decoding_parameter: &T,
bytes: &mut Cursor<&[u8]>,
Expand Down

0 comments on commit df91043

Please sign in to comment.