Skip to content
/ rust Public
forked from rust-lang/rust

Commit 83dd8a2

Browse files
committed
Fix name of field in doc comment
1 parent 1bc5618 commit 83dd8a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_hir/src/hir.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1756,7 +1756,7 @@ pub enum PatKind<'hir> {
17561756
Never,
17571757

17581758
/// A tuple pattern (e.g., `(a, b)`).
1759-
/// If the `..` pattern fragment is present, then `Option<usize>` denotes its position.
1759+
/// If the `..` pattern fragment is present, then `DotDotPos` denotes its position.
17601760
/// `0 <= position <= subpats.len()`
17611761
Tuple(&'hir [Pat<'hir>], DotDotPos),
17621762

0 commit comments

Comments
 (0)