mirror of
https://github.com/rust-lang/rustlings.git
synced 2024-12-26 00:00:03 +03:00
2cdd61294f
The `watch` command now requires user action to move to the next exercise. BREAKING CHANGE: this changes the behavior of `watch`.
15 lines
272 B
Rust
15 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!");
|
|
}
|
|
}
|