Skip to content

Commit 933c060

Browse files
committed
correct wording in hir docs
1 parent 1a71355 commit 933c060

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_hir/src/hir.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1884,7 +1884,7 @@ pub enum PatKind<'hir> {
18841884
Binding(BindingMode, HirId, Ident, Option<&'hir Pat<'hir>>),
18851885

18861886
/// A struct or struct variant pattern (e.g., `Variant {x, y, ..}`).
1887-
/// The `Option` contains the span a possible `..`.
1887+
/// The `Option` contains the span of a possible `..`.
18881888
Struct(QPath<'hir>, &'hir [PatField<'hir>], Option<Span>),
18891889

18901890
/// A tuple struct/variant pattern `Variant(x, y, .., z)`.

0 commit comments

Comments
 (0)