From 701aaf126d2977802ec46d15b85d74668c669800 Mon Sep 17 00:00:00 2001 From: debris Date: Tue, 8 Dec 2015 00:53:28 +0100 Subject: [PATCH] fixed rlp reexports --- src/rlp/mod.rs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/rlp/mod.rs b/src/rlp/mod.rs index e14b4ad25..a790a480c 100644 --- a/src/rlp/mod.rs +++ b/src/rlp/mod.rs @@ -38,11 +38,10 @@ pub mod untrusted_rlp; pub mod rlpstream; pub use self::faces::{DecoderError, Decoder, Decodable, View}; -pub use self::rlp::*; -pub use self::untrusted_rlp::*; +pub use self::rlp::{Rlp, RlpIterator}; +pub use self::untrusted_rlp::{UntrustedRlp, UntrustedRlpIterator, Prototype, PayloadInfo}; pub use self::old::{encode, RlpStream, Encodable}; -//pub use self::old::*; pub fn decode(bytes: &[u8]) -> T where T: Decodable { let rlp = Rlp::new(bytes);