Adjust documentation in HAIR.

This commit is contained in:
Mazdak Farrokhzad 2019-07-10 05:17:26 +02:00
parent cec8649933
commit 984f9db946

View File

@ -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>>,