diff --git a/src/encoder.rs b/src/encoder.rs index 030641d..7353c51 100644 --- a/src/encoder.rs +++ b/src/encoder.rs @@ -671,6 +671,7 @@ where } /// Wrapper to allow `Vec` encoding as bencode string element. +#[derive(Clone, Copy, Debug, Default, Hash, Eq, PartialEq, PartialOrd, Ord)] pub struct AsString(pub I); impl Encodable for AsString