Removed unnecessary macro declaration

This commit is contained in:
Adolfo Ochagavía 2014-05-24 18:10:18 +02:00
parent 39c1ecd411
commit 9088a56db1

View File

@ -171,10 +171,6 @@ pub trait Decodable<D:Decoder<E>, E> {
fn decode(d: &mut D) -> Result<Self, E>;
}
macro_rules! try ( ($e:expr) => (
match $e { Ok(v) => v, Err(e) => return Err(e) }
))
impl<E, S:Encoder<E>> Encodable<S, E> for uint {
fn encode(&self, s: &mut S) -> Result<(), E> {
s.emit_uint(*self)