From b8c1447c0415b6f5d78c3bf17d75dbdeae796d5b Mon Sep 17 00:00:00 2001 From: debris Date: Wed, 2 Dec 2015 14:29:09 +0100 Subject: [PATCH] removed fmt::Debug from append --- src/rlp.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rlp.rs b/src/rlp.rs index 5f718ac3e..b055632b1 100644 --- a/src/rlp.rs +++ b/src/rlp.rs @@ -810,7 +810,7 @@ impl RlpStream { /// assert_eq!(out, vec![0xc8, 0x83, b'c', b'a', b't', 0x83, b'd', b'o', b'g']); /// } /// ``` - pub fn append<'a, E>(&'a mut self, object: &E) -> &'a mut RlpStream where E: Encodable + fmt::Debug { + pub fn append<'a, E>(&'a mut self, object: &E) -> &'a mut RlpStream where E: Encodable { // encode given value and add it at the end of the stream object.encode(&mut self.encoder);