added whitespace

This commit is contained in:
Anthony Defranceschi 2017-08-17 01:39:23 +02:00
parent fe06b70b2a
commit d6cdefc4e0
1 changed files with 2 additions and 2 deletions

View File

@ -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