mirror of
https://github.com/rust-lang/rust.git
synced 2025-04-16 14:07:04 +00:00
Fix name of field in doc comment
This commit is contained in:
parent
1bc56185ee
commit
83dd8a2c2a
@ -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