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(
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
Original file line number Diff line number Diff 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.
You can’t perform that action at this time.
0 commit comments