diff options
| author | lcnr <rust@lcnr.de> | 2023-03-10 10:49:05 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-03-10 10:49:05 +0100 |
| commit | 14818e28d10f2dfb3e0bddbe3140b2cab7763442 (patch) | |
| tree | 1cf5dfb99c65ba36bc27df879396614c2479485e | |
| parent | 3097453f21668bb5469f8f5ef768de4d225856c6 (diff) | |
| download | rust-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.rs | 2 |
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. /// |
