Skip to content

Commit

Permalink
added whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
Songbird0 committed Aug 16, 2017
1 parent fe06b70 commit d6cdefc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/librustc/diagnostics.rs
Original file line number Diff line number Diff line change
Expand Up @@ -362,9 +362,9 @@ Here are some simple examples of where you'll run into this error:
struct Foo { x: &bool } // error
struct Foo<'a> { x: &'a bool } // correct
struct Bar{ x: Foo }
struct Bar { x: Foo }
^^^ expected lifetime parameter
struct Bar<'a>{ x: Foo<'a> } // correct
struct Bar<'a> { x: Foo<'a> } // correct
enum Bar { A(u8), B(&bool), } // error
enum Bar<'a> { A(u8), B(&'a bool), } // correct
Expand Down

0 comments on commit d6cdefc

Please sign in to comment.