about summary refs log tree commit diff
path: root/compiler/rustc_parse/src/parser
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2023-11-14 21:50:39 +0100
committerGitHub <noreply@github.com>2023-11-14 21:50:39 +0100
commit2e00c6ffd739cd34c07a9de8193813afbf976595 (patch)
treef05d18ad0caea6fe6d44ee2c926668a7d021c64d /compiler/rustc_parse/src/parser
parent52f3a6fdb2586f61acd47be005d7fd46d93a20c1 (diff)
parenta44a4edc0eb4361f998646891ba3728d3c9d9694 (diff)
downloadrust-2e00c6ffd739cd34c07a9de8193813afbf976595.tar.gz
rust-2e00c6ffd739cd34c07a9de8193813afbf976595.zip
Rollup merge of #117911 - catandcoder:master, r=lqd
Fix some typos
Diffstat (limited to 'compiler/rustc_parse/src/parser')
-rw-r--r--compiler/rustc_parse/src/parser/ty.rs2
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>> {