We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bc88063 commit 7a7146cCopy full SHA for 7a7146c
src/librustc_mir/hair/pattern/mod.rs
@@ -162,7 +162,7 @@ pub enum PatternKind<'tcx> {
162
163
/// Matches against a slice, checking the length and extracting elements.
164
/// irrefutable when there is a slice pattern and both `prefix` and `suffix` are empty.
165
- /// e.g., `&[ref xs..]`.
+ /// e.g., `&[ref xs @ ..]`.
166
Slice {
167
prefix: Vec<Pattern<'tcx>>,
168
slice: Option<Pattern<'tcx>>,
0 commit comments