Fix name of field in doc comment

This commit is contained in:
Samuel Tardieu 2025-04-12 11:33:33 +02:00
parent 1bc56185ee
commit 83dd8a2c2a

View File

@ -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),