about summary refs log tree commit diff
diff options
context:
space:
mode:
authorlcnr <rust@lcnr.de>2023-03-10 10:49:05 +0100
committerGitHub <noreply@github.com>2023-03-10 10:49:05 +0100
commit14818e28d10f2dfb3e0bddbe3140b2cab7763442 (patch)
tree1cf5dfb99c65ba36bc27df879396614c2479485e
parent3097453f21668bb5469f8f5ef768de4d225856c6 (diff)
downloadrust-14818e28d10f2dfb3e0bddbe3140b2cab7763442.tar.gz
rust-14818e28d10f2dfb3e0bddbe3140b2cab7763442.zip
updating comment
Co-authored-by: Ruby Lazuli <general@patchmixolydic.com>
-rw-r--r--compiler/rustc_trait_selection/src/traits/select/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_trait_selection/src/traits/select/mod.rs b/compiler/rustc_trait_selection/src/traits/select/mod.rs
index d28af1c29e9..ba4df2b3720 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.
     ///