Skip to content

Commit 0c35489

Browse files
committed
Move a comment to where it belongs.
1 parent 9a1a258 commit 0c35489

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/rustc/middle/typeck/check/method.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,11 +118,12 @@ class lookup {
118118
}
119119

120120
loop {
121-
// First, see whether this is a bounded parameter.
122121
match ty::get(self.self_ty).struct {
122+
// First, see whether this is a bounded parameter.
123123
ty::ty_param(p) => {
124124
self.add_candidates_from_param(p.idx, p.def_id);
125125
}
126+
126127
ty::ty_trait(did, substs) => {
127128
self.add_candidates_from_trait(did, substs);
128129
}

0 commit comments

Comments
 (0)