Skip to content

Commit 6fa3ad1

Browse files
committed
correct comment
1 parent d5eb31c commit 6fa3ad1

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Diff for: compiler/rustc_middle/src/ty/typeck_results.rs

+1-3
Original file line numberDiff line numberDiff line change
@@ -147,9 +147,7 @@ pub struct TypeckResults<'tcx> {
147147
coercion_casts: ItemLocalSet,
148148

149149
/// Set of trait imports actually used in the method resolution.
150-
/// This is used for warning unused imports. During type
151-
/// checking, this `Arc` should not be cloned: it must have a ref-count
152-
/// of 1 so that we can insert things into the set mutably.
150+
/// This is used for warning unused imports.
153151
pub used_trait_imports: UnordSet<LocalDefId>,
154152

155153
/// If any errors occurred while type-checking this body,

0 commit comments

Comments
 (0)