From 343a52f6b5e567516abeb2af500ed8933dcb6085 Mon Sep 17 00:00:00 2001 From: Steve Klabnik Date: Sun, 20 Jul 2014 04:57:49 -0700 Subject: [PATCH] small typo --- .../lifetime-elision-return-type-requires-explicit-lifetime.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/compile-fail/lifetime-elision-return-type-requires-explicit-lifetime.rs b/src/test/compile-fail/lifetime-elision-return-type-requires-explicit-lifetime.rs index 2e05dda719080..aef3f7a40b555 100644 --- a/src/test/compile-fail/lifetime-elision-return-type-requires-explicit-lifetime.rs +++ b/src/test/compile-fail/lifetime-elision-return-type-requires-explicit-lifetime.rs @@ -22,7 +22,7 @@ struct Foo<'a> { x: &'a int, } -// Lifetime annotation needed because we have two lifetime: one as a parameter +// Lifetime annotation needed because we have two lifetimes: one as a parameter // and one on the reference. fn h(_: &Foo) -> &int { //~ ERROR missing lifetime specifier fail!()