Skip to content

Commit a42bbe6

Browse files
committed
Fix some typos of "definition"
1 parent 38a60a6 commit a42bbe6

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

compiler/rustc_resolve/src/build_reduced_graph.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ impl<'ra, 'tcx> Resolver<'ra, 'tcx> {
6060
}
6161
}
6262

63-
/// Create a name definitinon from the given components, and put it into the local module.
63+
/// Create a name definition from the given components, and put it into the local module.
6464
fn define_local(
6565
&mut self,
6666
parent: Module<'ra>,
@@ -76,7 +76,7 @@ impl<'ra, 'tcx> Resolver<'ra, 'tcx> {
7676
self.plant_decl_into_local_module(ident, orig_ident.span, ns, decl);
7777
}
7878

79-
/// Create a name definitinon from the given components, and put it into the extern module.
79+
/// Create a name definition from the given components, and put it into the extern module.
8080
fn define_extern(
8181
&self,
8282
parent: Module<'ra>,

typos.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ unstalled = "unstalled" # short for un-stalled
4545
# the non-empty form can be automatically fixed by `--bless`.
4646
#
4747
# tidy-alphabetical-start
48+
definitinon = "definition"
4849
# tidy-alphabetical-end
4950

5051
[default.extend-identifiers]

0 commit comments

Comments
 (0)