From ae652f50ba628c09bc632917a7bf4e6f6ec2b44c Mon Sep 17 00:00:00 2001 From: Bernd-L Date: Sat, 20 Feb 2021 15:04:48 +0100 Subject: [PATCH] Fix #2625 "Run this code" should be "compile this code" (ch18-03-pattern-syntax) Fixes #2625 --- src/ch18-03-pattern-syntax.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ch18-03-pattern-syntax.md b/src/ch18-03-pattern-syntax.md index abec505c9..6fedc85c6 100644 --- a/src/ch18-03-pattern-syntax.md +++ b/src/ch18-03-pattern-syntax.md @@ -344,7 +344,7 @@ warning because that could be a bug. But sometimes it’s useful to create a variable you won’t use yet, such as when you’re prototyping or just starting a project. In this situation, you can tell Rust not to warn you about the unused variable by starting the name of the variable with an underscore. In Listing -18-20, we create two unused variables, but when we run this code, we should +18-20, we create two unused variables, but when we compile this code, we should only get a warning about one of them. Filename: src/main.rs