Removed unneeded Config trait constraints

This commit is contained in:
Victor Koenders 2021-10-12 18:23:39 +02:00
parent a8680ce1d8
commit 84344af2c6
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@ use core::marker::PhantomData;
/// [with_big_endian]: #method.with_big_endian
/// [with_fixed_int_encoding]: #method.with_fixed_int_encoding
/// [with_variable_int_encoding]: #method.with_variable_int_encoding
pub trait Config: InternalConfig + Copy + Clone + Sized {
pub trait Config: InternalConfig {
/// Makes bincode encode all integer types in big endian.
fn with_big_endian(self) -> BigEndian<Self> {
BigEndian { _pd: PhantomData }