Skip to content

Commit 291e2bc

Browse files
authored
Merge pull request #1543 from gftea/patch-1
Update dsl.md to remove unnecessary braces
2 parents 2ed2686 + de7b5ce commit 291e2bc

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)