From b36479fcf8d4694ca29fdcc0c7fb1507a6da21c5 Mon Sep 17 00:00:00 2001 From: Alexis Bourget Date: Thu, 23 Jul 2020 23:30:16 +0200 Subject: [PATCH] Fix nit --- src/libstd/keyword_docs.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/libstd/keyword_docs.rs b/src/libstd/keyword_docs.rs index aca7f880ecd..f29bd99173a 100644 --- a/src/libstd/keyword_docs.rs +++ b/src/libstd/keyword_docs.rs @@ -992,7 +992,8 @@ mod pub_keyword {} /// Bind by reference during pattern matching. /// /// `ref` annotates pattern bindings to make them borrow rather than move. -/// It is **not** a part of the pattern as far as matching is concerned. +/// It is **not** a part of the pattern as far as matching is concerned: it does +/// not affect *whether* a value is matched, only *how* it is matched. /// /// By default, [`match`] statements consume all they can, which can sometimes /// be a problem, when you don't really need the value to be moved and owned: