From 14818e28d10f2dfb3e0bddbe3140b2cab7763442 Mon Sep 17 00:00:00 2001 From: lcnr Date: Fri, 10 Mar 2023 10:49:05 +0100 Subject: [PATCH] updating comment Co-authored-by: Ruby Lazuli --- compiler/rustc_trait_selection/src/traits/select/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/rustc_trait_selection/src/traits/select/mod.rs b/compiler/rustc_trait_selection/src/traits/select/mod.rs index d28af1c29e9ab..ba4df2b3720ef 100644 --- a/compiler/rustc_trait_selection/src/traits/select/mod.rs +++ b/compiler/rustc_trait_selection/src/traits/select/mod.rs @@ -1857,7 +1857,7 @@ enum DropVictim { /// type variables and then we also attempt to evaluate recursive /// bounds to see if they are satisfied. impl<'tcx> SelectionContext<'_, 'tcx> { - /// Returns `true` if `victim` should be dropped in favor of + /// Returns `DropVictim::Yes` if `victim` should be dropped in favor of /// `other`. Generally speaking we will drop duplicate /// candidates and prefer where-clause candidates. ///