diff options
| author | Samuel Tardieu <sam@rfc1149.net> | 2025-04-12 11:33:33 +0200 |
|---|---|---|
| committer | Samuel Tardieu <sam@rfc1149.net> | 2025-04-12 11:34:04 +0200 |
| commit | 83dd8a2c2a7d948e669adc7170dfc4bf0b76a873 (patch) | |
| tree | 794f7b90a98aa3900e1b7a8a7f3cefd052b07e72 | |
| parent | 1bc56185ee257ed829a0aea7abdc3b03c5fed887 (diff) | |
| download | rust-83dd8a2c2a7d948e669adc7170dfc4bf0b76a873.tar.gz rust-83dd8a2c2a7d948e669adc7170dfc4bf0b76a873.zip | |
Fix name of field in doc comment
| -rw-r--r-- | compiler/rustc_hir/src/hir.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_hir/src/hir.rs b/compiler/rustc_hir/src/hir.rs index c9c4936c156..6455f33b9d1 100644 --- a/compiler/rustc_hir/src/hir.rs +++ b/compiler/rustc_hir/src/hir.rs @@ -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), |
