We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5b11b28 + 6e5d78d commit 033e142Copy full SHA for 033e142
src/doc/trpl/macros.md
@@ -464,7 +464,7 @@ which syntactic form it matches.
464
465
* `ident`: an identifier. Examples: `x`; `foo`.
466
* `path`: a qualified name. Example: `T::SpecialA`.
467
-* `expr`: an expression. Examples: `2 + 2`; `if true then { 1 } else { 2 }`; `f(42)`.
+* `expr`: an expression. Examples: `2 + 2`; `if true { 1 } else { 2 }`; `f(42)`.
468
* `ty`: a type. Examples: `i32`; `Vec<(char, String)>`; `&T`.
469
* `pat`: a pattern. Examples: `Some(t)`; `(17, 'a')`; `_`.
470
* `stmt`: a single statement. Example: `let x = 3`.
0 commit comments