diff options
| author | Alexis Bourget <alexis.bourget@gmail.com> | 2020-07-23 23:30:16 +0200 |
|---|---|---|
| committer | Alexis Bourget <alexis.bourget@gmail.com> | 2020-07-23 23:30:16 +0200 |
| commit | b36479fcf8d4694ca29fdcc0c7fb1507a6da21c5 (patch) | |
| tree | b50f8eb9696ecfea1901af842151ee711afc8703 | |
| parent | 2853448426ce76926baa7e6e6173c15228e4951a (diff) | |
| download | rust-b36479fcf8d4694ca29fdcc0c7fb1507a6da21c5.tar.gz rust-b36479fcf8d4694ca29fdcc0c7fb1507a6da21c5.zip | |
Fix nit
| -rw-r--r-- | src/libstd/keyword_docs.rs | 3 |
1 files changed, 2 insertions, 1 deletions
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: |
