mirror of
https://github.com/rust-lang/rustlings.git
synced 2026-01-08 03:39:18 +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!
|
// 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)]
|
#[cfg(test)]
|
||||||
mod tests {
|
mod tests {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user