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 1bc5618 commit 83dd8a2Copy full SHA for 83dd8a2
compiler/rustc_hir/src/hir.rs
@@ -1756,7 +1756,7 @@ pub enum PatKind<'hir> {
1756
Never,
1757
1758
/// A tuple pattern (e.g., `(a, b)`).
1759
- /// If the `..` pattern fragment is present, then `Option<usize>` denotes its position.
+ /// If the `..` pattern fragment is present, then `DotDotPos` denotes its position.
1760
/// `0 <= position <= subpats.len()`
1761
Tuple(&'hir [Pat<'hir>], DotDotPos),
1762
0 commit comments