]> git.lizzy.rs Git - rust.git/blobdiff - compiler/rustc_ty_utils/src/needs_drop.rs
Rollup merge of #102945 - compiler-errors:placeholder-region-outlives, r=lcnr
[rust.git] / compiler / rustc_ty_utils / src / needs_drop.rs
index ba987c6f76314a4487f9437480b12d4bc2c6aaa6..d390a30815307295d27f52cdfa1356f98b682b3c 100644 (file)
@@ -264,7 +264,7 @@ fn adt_consider_insignificant_dtor<'tcx>(
         if is_marked_insig {
             // In some cases like `std::collections::HashMap` where the struct is a wrapper around
             // a type that is a Drop type, and the wrapped type (eg: `hashbrown::HashMap`) lies
-            // outside stdlib, we might choose to still annotate the the wrapper (std HashMap) with
+            // outside stdlib, we might choose to still annotate the wrapper (std HashMap) with
             // `rustc_insignificant_dtor`, even if the type itself doesn't have a `Drop` impl.
             Some(DtorType::Insignificant)
         } else if adt_def.destructor(tcx).is_some() {