Skip to content

Commit 9088a56

Browse files
committed
Removed unnecessary macro declaration
1 parent 39c1ecd commit 9088a56

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)