diff options
| author | cui fliter <imcusg@gmail.com> | 2023-11-14 23:06:50 +0800 |
|---|---|---|
| committer | cui fliter <imcusg@gmail.com> | 2023-11-14 23:06:50 +0800 |
| commit | a44a4edc0eb4361f998646891ba3728d3c9d9694 (patch) | |
| tree | f9c1c3f8fa73a6584539f09902a9fc04e3830fff /compiler/rustc_parse/src | |
| parent | fa14810f21f47aa55ae7b3dd7c6d32c41e2072f8 (diff) | |
| download | rust-a44a4edc0eb4361f998646891ba3728d3c9d9694.tar.gz rust-a44a4edc0eb4361f998646891ba3728d3c9d9694.zip | |
Fix some typos
Signed-off-by: cui fliter <imcusg@gmail.com>
Diffstat (limited to 'compiler/rustc_parse/src')
| -rw-r--r-- | compiler/rustc_parse/src/parser/ty.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_parse/src/parser/ty.rs b/compiler/rustc_parse/src/parser/ty.rs index be2cbaf3020..dc0f1396523 100644 --- a/compiler/rustc_parse/src/parser/ty.rs +++ b/compiler/rustc_parse/src/parser/ty.rs @@ -135,7 +135,7 @@ impl<'a> Parser<'a> { ) } - /// Parse a type suitable for a field defintion. + /// Parse a type suitable for a field definition. /// The difference from `parse_ty` is that this version /// allows anonymous structs and unions. pub fn parse_ty_for_field_def(&mut self) -> PResult<'a, P<Ty>> { |
