Skip to content

Commit b546fff

Browse files
committed
auto merge of #14405 : aochagavia/rust/pr5, r=cmr
2 parents 39c1ecd + 9088a56 commit b546fff

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/libserialize/serialize.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -171,10 +171,6 @@ pub trait Decodable<D:Decoder<E>, E> {
171171
fn decode(d: &mut D) -> Result<Self, E>;
172172
}
173173

174-
macro_rules! try ( ($e:expr) => (
175-
match $e { Ok(v) => v, Err(e) => return Err(e) }
176-
))
177-
178174
impl<E, S:Encoder<E>> Encodable<S, E> for uint {
179175
fn encode(&self, s: &mut S) -> Result<(), E> {
180176
s.emit_uint(*self)

0 commit comments

Comments
 (0)