Skip to content

Commit 91b5214

Browse files
committed
Minor documentation type fixes h/t @pierwill
1 parent f3ebafa commit 91b5214

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

compiler/rustc_trait_selection/src/traits/coherence.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -379,7 +379,7 @@ fn obligations_satisfiable<'cx, 'tcx, T: Debug + ToTrace<'tcx>>(
379379
}
380380
}
381381

382-
/// Try to prove that a negative impl exist for the given obligation and their super predicates.
382+
/// Try to prove that a negative impl exist for the given obligation and its super predicates.
383383
#[instrument(level = "debug", skip(selcx))]
384384
fn negative_impl_exists<'cx, 'tcx>(
385385
selcx: &SelectionContext<'cx, 'tcx>,
@@ -393,7 +393,7 @@ fn negative_impl_exists<'cx, 'tcx>(
393393
return true;
394394
}
395395

396-
// Try to prove a negative obligation exist for super predicates
396+
// Try to prove a negative obligation exists for super predicates
397397
for o in util::elaborate_predicates(infcx.tcx, iter::once(o.predicate)) {
398398
if resolve_negative_obligation(infcx, param_env, region_context, &o) {
399399
return true;

0 commit comments

Comments
 (0)