diff options
| author | Mazdak Farrokhzad <twingoow@gmail.com> | 2019-07-10 05:17:26 +0200 |
|---|---|---|
| committer | Mazdak Farrokhzad <twingoow@gmail.com> | 2019-07-28 06:53:39 +0200 |
| commit | 984f9db94674d50a20ef21046fc142ebec259102 (patch) | |
| tree | 260a3cecd164f476dfe5609cb0df766350fe12a0 | |
| parent | cec8649933ef90f345b44c067670ff772c905937 (diff) | |
Adjust documentation in HAIR.
| -rw-r--r-- | src/librustc_mir/hair/pattern/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc_mir/hair/pattern/mod.rs b/src/librustc_mir/hair/pattern/mod.rs index 1baeda41498..f759ec7f219 100644 --- a/src/librustc_mir/hair/pattern/mod.rs +++ b/src/librustc_mir/hair/pattern/mod.rs @@ -162,7 +162,7 @@ pub enum PatternKind<'tcx> { /// Matches against a slice, checking the length and extracting elements. /// irrefutable when there is a slice pattern and both `prefix` and `suffix` are empty. - /// e.g., `&[ref xs..]`. + /// e.g., `&[ref xs @ ..]`. Slice { prefix: Vec<Pattern<'tcx>>, slice: Option<Pattern<'tcx>>, |
