File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -139,7 +139,7 @@ fn process_enum(
139
139
' variant: for variant in variants. variants ( ) {
140
140
for attr in variant. attrs ( ) {
141
141
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
143
143
debug ! ( "censoring type {:?}" , variant. syntax( ) ) ;
144
144
remove. insert ( variant. syntax ( ) . clone ( ) . into ( ) ) ;
145
145
// We need to remove the , as well
Original file line number Diff line number Diff line change @@ -462,7 +462,7 @@ pub(super) fn free_function<'a, DB: HirDatabase>(
462
462
463
463
/// # Impl method tactic
464
464
///
465
- /// Attempts to to call methods on types from lookup table.
465
+ /// Attempts to call methods on types from lookup table.
466
466
/// This includes both functions from direct impl blocks as well as functions from traits.
467
467
/// Methods defined in impl blocks that are generic and methods that are themselves have
468
468
/// generics are ignored for performance reasons.
You can’t perform that action at this time.
0 commit comments