Removed unnecessary macro declaration
This commit is contained in:
parent
39c1ecd411
commit
9088a56db1
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user