From c2bdc8571552ad74af18f71e8d026846947615e4 Mon Sep 17 00:00:00 2001 From: Manish Goregaokar Date: Thu, 13 Aug 2015 19:59:14 +0530 Subject: [PATCH] oh the irony --- src/lifetimes.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/lifetimes.rs b/src/lifetimes.rs index 25be8874691..03b4de6c948 100644 --- a/src/lifetimes.rs +++ b/src/lifetimes.rs @@ -130,15 +130,15 @@ impl RefVisitor { impl<'v> Visitor<'v> for RefVisitor { // for lifetimes of references - fn visit_opt_lifetime_ref(&mut self, _: Span, lifetime: &'v Option) { + fn visit_opt_lifetime_ref(&mut self, _: Span, lifetime: &Option) { self.record(lifetime); } // for lifetimes as parameters of generics - fn visit_lifetime_ref(&mut self, lifetime: &'v Lifetime) { + fn visit_lifetime_ref(&mut self, lifetime: &Lifetime) { self.record(&Some(*lifetime)); } // for lifetime bounds; the default impl calls visit_lifetime_ref - fn visit_lifetime_bound(&mut self, _: &'v Lifetime) { } + fn visit_lifetime_bound(&mut self, _: &Lifetime) { } }