about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAnthony Defranceschi <chaacygg@gmail.com>2017-08-17 01:39:23 +0200
committerAnthony Defranceschi <chaacygg@gmail.com>2017-08-17 01:39:23 +0200
commitd6cdefc4e0000bcb3c07bddd26eaa144bcf5a00b (patch)
tree5bddb77f44219ada5c3d4e5e45e624033360d923
parentfe06b70b2a2794df6f976f0d20b27f154a633fca (diff)
downloadrust-d6cdefc4e0000bcb3c07bddd26eaa144bcf5a00b.tar.gz
rust-d6cdefc4e0000bcb3c07bddd26eaa144bcf5a00b.zip
added whitespace
-rw-r--r--src/librustc/diagnostics.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/librustc/diagnostics.rs b/src/librustc/diagnostics.rs
index 48f2d0b3198..34d31028385 100644
--- a/src/librustc/diagnostics.rs
+++ b/src/librustc/diagnostics.rs
@@ -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