Fix some typos of "definition"

This commit is contained in:
Zalathar
2026-01-29 13:10:58 +11:00
parent 38a60a6307
commit a42bbe697f
2 changed files with 3 additions and 2 deletions
@@ -60,7 +60,7 @@ pub(crate) fn plant_decl_into_local_module(
}
}
/// Create a name definitinon from the given components, and put it into the local module.
/// Create a name definition from the given components, and put it into the local module.
fn define_local(
&mut self,
parent: Module<'ra>,
@@ -76,7 +76,7 @@ fn define_local(
self.plant_decl_into_local_module(ident, orig_ident.span, ns, decl);
}
/// Create a name definitinon from the given components, and put it into the extern module.
/// Create a name definition from the given components, and put it into the extern module.
fn define_extern(
&self,
parent: Module<'ra>,
+1
View File
@@ -45,6 +45,7 @@ unstalled = "unstalled" # short for un-stalled
# the non-empty form can be automatically fixed by `--bless`.
#
# tidy-alphabetical-start
definitinon = "definition"
# tidy-alphabetical-end
[default.extend-identifiers]