Skip to content

Commit 2e9fb8b

Browse files
committed
Fix filter_impls comment
1 parent b03a0df commit 2e9fb8b

File tree

1 file changed

+2
-2
lines changed
  • compiler/rustc_trait_selection/src/traits/select

1 file changed

+2
-2
lines changed

compiler/rustc_trait_selection/src/traits/select/mod.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -1117,8 +1117,8 @@ impl<'cx, 'tcx> SelectionContext<'cx, 'tcx> {
11171117
(result, dep_node)
11181118
}
11191119

1120-
/// filter_impls filters candidates that have a positive impl for a negative goal and a
1121-
/// negative impl for a positive goal
1120+
/// filter_impls filters constant trait obligations and candidates that have a positive impl
1121+
/// for a negative goal and a negative impl for a positive goal
11221122
#[instrument(level = "debug", skip(self))]
11231123
fn filter_impls(
11241124
&mut self,

0 commit comments

Comments
 (0)