mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-25 08:13:41 +00:00
11 lines
186 B
Rust
11 lines
186 B
Rust
//@ edition: 2021
|
|
|
|
#[macro_export]
|
|
macro_rules! macro_that_defines_a_function {
|
|
(fn $name:ident () $body:tt) => {
|
|
fn $name () -> () $body
|
|
}
|
|
}
|
|
|
|
// Non-executable comment.
|