diff --git a/python-book/src/ch12-closures-and-iterators.md b/python-book/src/ch12-closures-and-iterators.md index 6af7319..00732c1 100644 --- a/python-book/src/ch12-closures-and-iterators.md +++ b/python-book/src/ch12-closures-and-iterators.md @@ -306,8 +306,10 @@ struct Point { // Declarative macro (like a template) macro_rules! log_call { ($func_name:expr, $body:expr) => { - println!("Calling {}", $func_name); - $body + { + println!("Calling {}", $func_name); + $body + } }; }