mirror of
https://github.com/rust-lang/rust.git
synced 2025-04-15 05:26:47 +00:00
Rollup merge of #139708 - samueltardieu:push-onttwlpwurov, r=petrochenkov
Fix name of field in doc comment Trivial doc fix
This commit is contained in:
commit
c3027182d1
@ -1756,7 +1756,7 @@ pub enum PatKind<'hir> {
|
||||
Never,
|
||||
|
||||
/// A tuple pattern (e.g., `(a, b)`).
|
||||
/// If the `..` pattern fragment is present, then `Option<usize>` denotes its position.
|
||||
/// If the `..` pattern fragment is present, then `DotDotPos` denotes its position.
|
||||
/// `0 <= position <= subpats.len()`
|
||||
Tuple(&'hir [Pat<'hir>], DotDotPos),
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user