removed dangling ;

This commit is contained in:
debris 2015-11-30 11:25:09 +01:00
parent 2d7ae3a18a
commit 94a5216513

View File

@ -652,7 +652,7 @@ impl RlpStream {
/// Streams out encoded bytes. /// Streams out encoded bytes.
/// ///
/// panic! if stream is not finished /// Returns an error if stream is not finished.
pub fn out(self) -> Vec<u8> { pub fn out(self) -> Vec<u8> {
match self.is_finished() { match self.is_finished() {
true => self.encoder.out(), true => self.encoder.out(),
@ -1058,7 +1058,7 @@ mod tests {
} }
let out = stream.out(); let out = stream.out();
assert_eq!(out, res); assert_eq!(out, res);
}; }
struct DTestPair<T>(T, Vec<u8>) where T: rlp::Decodable + fmt::Debug + cmp::Eq; struct DTestPair<T>(T, Vec<u8>) where T: rlp::Decodable + fmt::Debug + cmp::Eq;