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

Bkchr encode append v3 remove decode bound (#72)

* Removes accidentally added `Decode` bound for `EncodeAppend::Item`

* Parity codec version up
parent a1906dae
......@@ -15,7 +15,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
[[package]]
name = "parity-codec"
version = "3.5.0"
version = "3.5.1"
dependencies = [
"arrayvec 0.4.10 (registry+https://github.com/rust-lang/crates.io-index)",
"parity-codec-derive 3.3.0",
......
[package]
name = "parity-codec"
description = "Lightweight, efficient, binary serialization and deserialization codec"
version = "3.5.0"
version = "3.5.1"
authors = ["Parity Technologies <admin@parity.io>"]
license = "Apache-2.0"
repository = "https://github.com/paritytech/parity-codec"
......
......@@ -149,7 +149,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]) -> Option<Vec<u8>>;
......
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