From 84344af2c6fe43dde9480a285dec47689429a2bd Mon Sep 17 00:00:00 2001 From: Victor Koenders Date: Tue, 12 Oct 2021 18:23:39 +0200 Subject: [PATCH] Removed unneeded Config trait constraints --- src/config.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config.rs b/src/config.rs index 6531ab6..7c709be 100644 --- a/src/config.rs +++ b/src/config.rs @@ -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 { BigEndian { _pd: PhantomData }