From fb7f211c0c0723c84d9f5da58e80a7766478b616 Mon Sep 17 00:00:00 2001 From: bluecereal Date: Sun, 5 Feb 2017 20:20:43 -0500 Subject: [PATCH] Update if-let.md --- src/doc/book/if-let.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/doc/book/if-let.md b/src/doc/book/if-let.md index 2231dddf204..e76149ad270 100644 --- a/src/doc/book/if-let.md +++ b/src/doc/book/if-let.md @@ -1,7 +1,7 @@ % if let -`if let` allows us to match [patterns][patterns] within the condition of an [if][if]. -As a consequence, we reduce the overhead of certain kinds of [pattern][patterns] matches +`if let` permits [patterns][pattern] matching within the condition of an [if][if] statement. +This allows us to reduce the overhead of certain kinds of [pattern][patterns] matches and express them in a more convenient way. For example, let’s say we have some sort of `Option`. We want to call a function