Skip to content

Commit 3b26bb9

Browse files
committed
remove duplicate statement
1 parent bf416e7 commit 3b26bb9

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/librustc/middle/typeck/check/regionmanip.rs

-4
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,6 @@ pub fn replace_bound_regions_in_fn_sig(
3232
{
3333
let mut all_tys = ty::tys_in_fn_sig(fn_sig);
3434

35-
for &self_ty in opt_self_ty.iter() {
36-
all_tys.push(self_ty);
37-
}
38-
3935
for &t in opt_self_ty.iter() { all_tys.push(t) }
4036

4137
debug2!("replace_bound_regions_in_fn_sig(self_ty={:?}, fn_sig={}, \

0 commit comments

Comments
 (0)