From 94a5216513db4b71b64364d8db57360601b5cfa6 Mon Sep 17 00:00:00 2001 From: debris Date: Mon, 30 Nov 2015 11:25:09 +0100 Subject: [PATCH] removed dangling ; --- src/rlp.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/rlp.rs b/src/rlp.rs index 737f7f416..27151295f 100644 --- a/src/rlp.rs +++ b/src/rlp.rs @@ -652,7 +652,7 @@ impl RlpStream { /// Streams out encoded bytes. /// - /// panic! if stream is not finished + /// Returns an error if stream is not finished. pub fn out(self) -> Vec { match self.is_finished() { true => self.encoder.out(), @@ -1058,7 +1058,7 @@ mod tests { } let out = stream.out(); assert_eq!(out, res); - }; + } struct DTestPair(T, Vec) where T: rlp::Decodable + fmt::Debug + cmp::Eq;