Skip to content

Commit b36479f

Browse files
committed
Fix nit
1 parent 2853448 commit b36479f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/libstd/keyword_docs.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -992,7 +992,8 @@ mod pub_keyword {}
992992
/// Bind by reference during pattern matching.
993993
///
994994
/// `ref` annotates pattern bindings to make them borrow rather than move.
995-
/// It is **not** a part of the pattern as far as matching is concerned.
995+
/// It is **not** a part of the pattern as far as matching is concerned: it does
996+
/// not affect *whether* a value is matched, only *how* it is matched.
996997
///
997998
/// By default, [`match`] statements consume all they can, which can sometimes
998999
/// be a problem, when you don't really need the value to be moved and owned:

0 commit comments

Comments
 (0)