From e644f24b897292b54d956bd88e4853ad92d367b7 Mon Sep 17 00:00:00 2001 From: Herbert Reiter <46045854+damoasda@users.noreply.github.com> Date: Sat, 29 Mar 2025 21:03:38 +0100 Subject: [PATCH] Resolve merge conflict --- src/ch19-02-refutability.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ch19-02-refutability.md b/src/ch19-02-refutability.md index 22e1e9e13a..a77be6a354 100644 --- a/src/ch19-02-refutability.md +++ b/src/ch19-02-refutability.md @@ -50,8 +50,8 @@ pattern `Some(x)`, Rust rightfully produces a compiler error. If we have a refutable pattern where an irrefutable pattern is needed, we can fix it by changing the code that uses the pattern: Instead of using `let`, we -can use `let else`. Then, if the pattern doesn’t match, the code will just skip -the code in the curly brackets, giving it a way to continue validly. Listing +can use `let else`. Then, if the pattern doesn’t match, the code in the curly +brackets will be executed, giving it a way to continue validly. Listing 19-9 shows how to fix the code in Listing 19-8.