From bb5370b74659490326609032f1d6f5c0be8f93d2 Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Wed, 19 Oct 2016 00:30:23 -0700 Subject: [PATCH] No longer need `e!` --- serde/src/ser/impls.rs | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/serde/src/ser/impls.rs b/serde/src/ser/impls.rs index 58a1683e..5653a717 100644 --- a/serde/src/ser/impls.rs +++ b/serde/src/ser/impls.rs @@ -313,11 +313,6 @@ impl Serialize for () { /////////////////////////////////////////////////////////////////////////////// -// FIXME(rust #19630) Remove this work-around -macro_rules! e { - ($e:expr) => { $e } -} - macro_rules! tuple_impls { ($( $TupleVisitor:ident ($len:expr, $($T:ident),+) { @@ -334,7 +329,7 @@ macro_rules! tuple_impls { { let mut state = try!(serializer.serialize_tuple($len)); $( - try!(serializer.serialize_tuple_elt(&mut state, &e!(self.$idx))); + try!(serializer.serialize_tuple_elt(&mut state, &self.$idx)); )+ serializer.serialize_tuple_end(state) }