Skip to content

Commit 343a52f

Browse files
committed
small typo
1 parent 4f55b52 commit 343a52f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/compile-fail/lifetime-elision-return-type-requires-explicit-lifetime.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ struct Foo<'a> {
2222
x: &'a int,
2323
}
2424

25-
// Lifetime annotation needed because we have two lifetime: one as a parameter
25+
// Lifetime annotation needed because we have two lifetimes: one as a parameter
2626
// and one on the reference.
2727
fn h(_: &Foo) -> &int { //~ ERROR missing lifetime specifier
2828
fail!()

0 commit comments

Comments
 (0)