We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2853448 commit b36479fCopy full SHA for b36479f
src/libstd/keyword_docs.rs
@@ -992,7 +992,8 @@ mod pub_keyword {}
992
/// Bind by reference during pattern matching.
993
///
994
/// `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.
+/// 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.
997
998
/// By default, [`match`] statements consume all they can, which can sometimes
999
/// be a problem, when you don't really need the value to be moved and owned:
0 commit comments