Skip to content

Commit 04dafa6

Browse files
committed
Make a comment more clear
The rest of the code uses A/B, so use them here too.
1 parent aa69355 commit 04dafa6

File tree

1 file changed

+1
-1
lines changed
  • chalk-solve/src/clauses/builtin_traits

1 file changed

+1
-1
lines changed

chalk-solve/src/clauses/builtin_traits/unsize.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ pub fn add_unsize_program_clauses<I: Interner>(
190190
// `fn confirm_builtin_unisize_candidate` in rustc.
191191

192192
match (source_ty.kind(interner), target_ty.kind(interner)) {
193-
// dyn Trait + AutoX + 'a -> dyn Trait + AutoY + 'b
193+
// dyn TraitA + AutoA + 'a -> dyn TraitB + AutoB + 'b
194194
(
195195
TyKind::Dyn(DynTy {
196196
bounds: bounds_a,

0 commit comments

Comments
 (0)