Skip to content

Commit de7b5ce

Browse files
authored
Update dsl.md
remove unnecessary braces
1 parent 2ed2686 commit de7b5ce

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/macros/dsl.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@ an expression and have the output printed to console.
1010

1111
```rust,editable
1212
macro_rules! calculate {
13-
(eval $e:expr) => {{
13+
(eval $e:expr) => {
1414
{
1515
let val: usize = $e; // Force types to be integers
1616
println!("{} = {}", stringify!{$e}, val);
1717
}
18-
}};
18+
};
1919
}
2020
2121
fn main() {

0 commit comments

Comments
 (0)