Skip to content

Commit 9699da4

Browse files
author
fmoko
authored
Merge pull request #506 from bhgsbatista/patch-1
Make macros4 not compile by default
2 parents 70da09e + 6bb0b48 commit 9699da4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

exercises/macros/macros4.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@
66
macro_rules! my_macro {
77
() => {
88
println!("Check out my macro!");
9-
};
9+
}
1010
($val:expr) => {
1111
println!("Look at this other macro: {}", $val);
12-
};
12+
}
1313
}
1414

1515
fn main() {

0 commit comments

Comments
 (0)