From b7e08165665532e319f039934851c31cbcf5c54e Mon Sep 17 00:00:00 2001 From: bfahrenfort Date: Fri, 1 Mar 2024 11:25:58 -0600 Subject: [PATCH] Quartz sync: Mar 1, 2024, 11:25 AM --- content/Programs I Like/rust-macros.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/Programs I Like/rust-macros.md b/content/Programs I Like/rust-macros.md index 800f899c6..1393f3749 100644 --- a/content/Programs I Like/rust-macros.md +++ b/content/Programs I Like/rust-macros.md @@ -37,7 +37,7 @@ quote!{ Here, everything inside the `#()` parenthetical will be repeatedly generated for each element of `some_vec`, with `#some_vec` expanding to the element at the current index. Presumably it contains the `Ident` s of some variable names of type `i32` that we want to declare and assign 5 to all of them in our macro. An expansion might look like: ```rust -let x = 5;let y = 5; let z = 5; +let x = 5;let y = 5;let z = 5; ``` It's okay that it's not pretty because the compiler will see it as valid anyway.