mirror of
https://github.com/notohh/rustlings.git
synced 2024-11-26 15:24:17 -05:00
2cdd61294f
The `watch` command now requires user action to move to the next exercise. BREAKING CHANGE: this changes the behavior of `watch`.
14 lines
272 B
Rust
14 lines
272 B
Rust
// test4.rs
|
|
// This test covers the sections:
|
|
// - Modules
|
|
// - Macros
|
|
|
|
// Write a macro that passes the test! No hints this time, you can do it!
|
|
|
|
// I AM NOT DONE
|
|
|
|
fn main() {
|
|
if my_macro!("world!") != "Hello world!" {
|
|
panic!("Oh no! Wrong output!");
|
|
}
|
|
}
|