Skip to content

Commit 14818e2

Browse files
lcnrPatchMixolydic
andauthored
updating comment
Co-authored-by: Ruby Lazuli <[email protected]>
1 parent 3097453 commit 14818e2

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1857,7 +1857,7 @@ enum DropVictim {
18571857
/// type variables and then we also attempt to evaluate recursive
18581858
/// bounds to see if they are satisfied.
18591859
impl<'tcx> SelectionContext<'_, 'tcx> {
1860-
/// Returns `true` if `victim` should be dropped in favor of
1860+
/// Returns `DropVictim::Yes` if `victim` should be dropped in favor of
18611861
/// `other`. Generally speaking we will drop duplicate
18621862
/// candidates and prefer where-clause candidates.
18631863
///

0 commit comments

Comments
 (0)