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:
0lhi 2023-02-24 01:43:23 +01:00 committed by GitHub
parent 701b4bef51
commit de24536187
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3,6 +3,7 @@
// I AM NOT DONE
#[rustfmt::skip]
macro_rules! my_macro {
() => {
println!("Check out my macro!");