about summary refs log tree commit diff
diff options
context:
space:
mode:
authorklensy <klensy@users.noreply.github.com>2025-02-17 12:32:26 +0300
committerklensy <klensy@users.noreply.github.com>2025-02-17 12:32:26 +0300
commit6fa3ad1e5e037d9b4f120573b852f06591bbe6f0 (patch)
treeee2019a7d530cbb962540f6e95468edd04e153eb
parentd5eb31c9347ae3c494c8d723711dacca7d1cfe8b (diff)
downloadrust-6fa3ad1e5e037d9b4f120573b852f06591bbe6f0.tar.gz
rust-6fa3ad1e5e037d9b4f120573b852f06591bbe6f0.zip
correct comment
-rw-r--r--compiler/rustc_middle/src/ty/typeck_results.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/compiler/rustc_middle/src/ty/typeck_results.rs b/compiler/rustc_middle/src/ty/typeck_results.rs
index 1b5b791bb24..b8c73d25843 100644
--- a/compiler/rustc_middle/src/ty/typeck_results.rs
+++ b/compiler/rustc_middle/src/ty/typeck_results.rs
@@ -147,9 +147,7 @@ pub struct TypeckResults<'tcx> {
     coercion_casts: ItemLocalSet,
 
     /// Set of trait imports actually used in the method resolution.
-    /// This is used for warning unused imports. During type
-    /// checking, this `Arc` should not be cloned: it must have a ref-count
-    /// of 1 so that we can insert things into the set mutably.
+    /// This is used for warning unused imports.
     pub used_trait_imports: UnordSet<LocalDefId>,
 
     /// If any errors occurred while type-checking this body,