Skip to content

Commit c302718

Browse files
authored
Rollup merge of #139708 - samueltardieu:push-onttwlpwurov, r=petrochenkov
Fix name of field in doc comment Trivial doc fix
2 parents 34eca3b + 83dd8a2 commit c302718

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: 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)