mirror of
https://github.com/rust-lang/rustlings
synced 2024-11-15 00:47:11 +00: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!");
|
|
}
|
|
}
|