This website requires JavaScript.
Explore
Help
Sign in
dnutiu
/
rustlings
Watch
1
Star
0
Fork
You've already forked rustlings
0
Code
Issues
Pull requests
Projects
Releases
Packages
Wiki
Activity
Actions
main
rustlings
/
exercises
/
21_macros
/
macros2.rs
10 lines
118 B
Rust
Raw
Permalink
Normal View
History
Unescape
Escape
initial commit
2024-10-28 20:46:17 +00:00
macro_rules
!
my_macro
{
(
)
=
>
{
println!
(
"
Check out my macro!
"
)
;
}
;
}
record progress: clippy, macros
2024-11-09 11:43:57 +00:00
fn
main
(
)
{
my_macro!
(
)
;
}
Reference in a new issue
Copy permalink