Skip to content

Commit d6cdefc

Browse files
committed
added whitespace
1 parent fe06b70 commit d6cdefc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/librustc/diagnostics.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -362,9 +362,9 @@ Here are some simple examples of where you'll run into this error:
362362
struct Foo { x: &bool } // error
363363
struct Foo<'a> { x: &'a bool } // correct
364364
365-
struct Bar{ x: Foo }
365+
struct Bar { x: Foo }
366366
^^^ expected lifetime parameter
367-
struct Bar<'a>{ x: Foo<'a> } // correct
367+
struct Bar<'a> { x: Foo<'a> } // correct
368368
369369
enum Bar { A(u8), B(&bool), } // error
370370
enum Bar<'a> { A(u8), B(&'a bool), } // correct

0 commit comments

Comments
 (0)