From 32e49db0139d772eed9b7f04c0d282f29dab958d Mon Sep 17 00:00:00 2001 From: Hector PENG Date: Sun, 26 Apr 2026 09:03:19 +0800 Subject: [PATCH] Update ch20-05-macros.md Change "Listing 20-29" to "Listing 20-35" in line 110 --- src/ch20-05-macros.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ch20-05-macros.md b/src/ch20-05-macros.md index 6d2e48f5a2..3a3b1f70c1 100644 --- a/src/ch20-05-macros.md +++ b/src/ch20-05-macros.md @@ -110,7 +110,7 @@ one arm. Valid pattern syntax in macro definitions is different from the pattern syntax covered in Chapter 19 because macro patterns are matched against Rust code structure rather than values. Let’s walk through what the pattern pieces in -Listing 20-29 mean; for the full macro pattern syntax, see the [Rust +Listing 20-35 mean; for the full macro pattern syntax, see the [Rust Reference][ref]. First, we use a set of parentheses to encompass the whole pattern. We use a