diff --git a/src/macros/variadics.md b/src/macros/variadics.md index e0cb1c1239..0ba36e63d2 100644 --- a/src/macros/variadics.md +++ b/src/macros/variadics.md @@ -9,12 +9,12 @@ We can extend our `calculate!` macro from the previous section to be variadic: ```rust,editable macro_rules! calculate { // The pattern for a single `eval` - (eval $e:expr) => {{ + (eval $e:expr) => { { let val: usize = $e; // Force types to be integers println!("{} = {}", stringify!{$e}, val); } - }}; + }; // Decompose multiple `eval`s recursively (eval $e:expr, $(eval $es:expr),+) => {{