mirror of
https://github.com/notohh/rustlings.git
synced 2024-12-23 03:38:09 -05:00
macros4.rs: Add rustfmt::skip to prevent auto-fix.
The `macros4.rs` challenge can automatically be solved by rustfmt without the user noticing. Adding `#[rustfmt::skip]` above the `macro_rules!` line fixes this issue.
This commit is contained in:
parent
701b4bef51
commit
de24536187
1 changed files with 1 additions and 0 deletions
|
@ -3,6 +3,7 @@
|
|||
|
||||
// I AM NOT DONE
|
||||
|
||||
#[rustfmt::skip]
|
||||
macro_rules! my_macro {
|
||||
() => {
|
||||
println!("Check out my macro!");
|
||||
|
|
Loading…
Reference in a new issue