Unverified Commit d7ece0cd authored by Bastian Köcher's avatar Bastian Köcher Committed by GitHub
Browse files

Removes accidentally added `Decode` bound for `EncodeAppend::Item` (#73)

parent 7c06d4d4
......@@ -241,7 +241,7 @@ pub trait Encode {
/// decoding all previous added items.
pub trait EncodeAppend {
/// The item that will be appended.
type Item: Encode + Decode;
type Item: Encode;
/// Append `to_append` items to the given `self_encoded` representation.
fn append(self_encoded: Vec<u8>, to_append: &[Self::Item]) -> Result<Vec<u8>, Error>;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment