Skip to content

Commit

Permalink
tidy fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mark-i-m committed Feb 25, 2018
1 parent d6f22a2 commit 7a82da1
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/librustc/traits/select.rs
Expand Up @@ -1029,7 +1029,8 @@ impl<'cx, 'gcx, 'tcx> SelectionContext<'cx, 'gcx, 'tcx> {
// caller obligations, and so forth and assembling a list of
// candidates. See [rustc guide] for more details.
//
// [rustc guide]: https://rust-lang-nursery.github.io/rustc-guide/trait-resolution.html#candidate-assembly
// [rustc guide]:
// https://rust-lang-nursery.github.io/rustc-guide/trait-resolution.html#candidate-assembly

fn candidate_from_obligation<'o>(&mut self,
stack: &TraitObligationStack<'o, 'tcx>)
Expand Down Expand Up @@ -2317,7 +2318,8 @@ impl<'cx, 'gcx, 'tcx> SelectionContext<'cx, 'gcx, 'tcx> {
// with the values found in the obligation, possibly yielding a
// type error. See [rustc guide] for more details.
//
// [rustc guide]: https://rust-lang-nursery.github.io/rustc-guide/trait-resolution.html#confirmation
// [rustc guide]:
// https://rust-lang-nursery.github.io/rustc-guide/trait-resolution.html#confirmation

fn confirm_candidate(&mut self,
obligation: &TraitObligation<'tcx>,
Expand Down

0 comments on commit 7a82da1

Please sign in to comment.