From 3b26bb9022e057084f357bafbcda39cab4cda55f Mon Sep 17 00:00:00 2001 From: David Renshaw Date: Sat, 5 Oct 2013 11:49:16 -0400 Subject: [PATCH] remove duplicate statement --- src/librustc/middle/typeck/check/regionmanip.rs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/librustc/middle/typeck/check/regionmanip.rs b/src/librustc/middle/typeck/check/regionmanip.rs index 1aae00edf51..0b3034532dc 100644 --- a/src/librustc/middle/typeck/check/regionmanip.rs +++ b/src/librustc/middle/typeck/check/regionmanip.rs @@ -32,10 +32,6 @@ pub fn replace_bound_regions_in_fn_sig( { let mut all_tys = ty::tys_in_fn_sig(fn_sig); - for &self_ty in opt_self_ty.iter() { - all_tys.push(self_ty); - } - for &t in opt_self_ty.iter() { all_tys.push(t) } debug2!("replace_bound_regions_in_fn_sig(self_ty={:?}, fn_sig={}, \