Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
small typo
  • Loading branch information
steveklabnik committed Jul 20, 2014
1 parent 4f55b52 commit 343a52f
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -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!()
Expand Down

0 comments on commit 343a52f

Please sign in to comment.