From 1d47b588eacadfff2bfdef4b2565f86726b996d5 Mon Sep 17 00:00:00 2001 From: Zexbe Date: Fri, 31 Jan 2020 10:13:05 -0800 Subject: [PATCH] Add note about chapter 18 in chapter 6 --- src/ch06-02-match.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/ch06-02-match.md b/src/ch06-02-match.md index f40380867f..3e742a1e50 100644 --- a/src/ch06-02-match.md +++ b/src/ch06-02-match.md @@ -203,3 +203,8 @@ list before the `_` placeholder. However, the `match` expression can be a bit wordy in a situation in which we care about only *one* of the cases. For this situation, Rust provides `if let`. + +More about patterns, and matching can be found in [chapter 18][ch18-00-patterns]. + +[ch18-00-patterns]: +ch18-00-patterns