Skip to content

Commit dc2e0b3

Browse files
committed
Auto merge of #16891 - goodmost:master, r=lnicola
chore: remove repetitive words
2 parents 5e276ae + d6b0aae commit dc2e0b3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

crates/hir-expand/src/cfg_process.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ fn process_enum(
139139
'variant: for variant in variants.variants() {
140140
for attr in variant.attrs() {
141141
if check_cfg_attr(&attr, loc, db).map(|enabled| !enabled).unwrap_or_default() {
142-
// Rustc does not strip the attribute if it is enabled. So we will will leave it
142+
// Rustc does not strip the attribute if it is enabled. So we will leave it
143143
debug!("censoring type {:?}", variant.syntax());
144144
remove.insert(variant.syntax().clone().into());
145145
// We need to remove the , as well

crates/hir/src/term_search/tactics.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -462,7 +462,7 @@ pub(super) fn free_function<'a, DB: HirDatabase>(
462462

463463
/// # Impl method tactic
464464
///
465-
/// Attempts to to call methods on types from lookup table.
465+
/// Attempts to call methods on types from lookup table.
466466
/// This includes both functions from direct impl blocks as well as functions from traits.
467467
/// Methods defined in impl blocks that are generic and methods that are themselves have
468468
/// generics are ignored for performance reasons.

0 commit comments

Comments
 (0)