mirror of
https://github.com/rust-lang/rustlings.git
synced 2026-01-07 03:09:19 +00:00
Add quiz4 solution
This commit is contained in:
parent
39dcd550a7
commit
3bdae9bb8a
@ -5,7 +5,11 @@
|
||||
|
||||
// Write a macro that passes the quiz! No hints this time, you can do it!
|
||||
|
||||
// I AM NOT DONE
|
||||
macro_rules! my_macro {
|
||||
($name:expr) => {
|
||||
format!("Hello {}", $name)
|
||||
};
|
||||
}
|
||||
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user