diff --git a/src/macros/dsl.md b/src/macros/dsl.md index fb0c23550d..9aaeda34cd 100644 --- a/src/macros/dsl.md +++ b/src/macros/dsl.md @@ -10,12 +10,12 @@ an expression and have the output printed to console. ```rust,editable macro_rules! calculate { - (eval $e:expr) => {{ + (eval $e:expr) => { { let val: usize = $e; // Force types to be integers println!("{} = {}", stringify!{$e}, val); } - }}; + }; } fn main() {