about summary refs log tree commit diff
diff options
context:
space:
mode:
authorChris Drake <cjdrake@gmail.com>2015-10-20 00:11:33 -0700
committerChris Drake <cjdrake@gmail.com>2015-10-20 00:11:33 -0700
commitf820dc84ca90b2d9955a66dfad44c2767e7bb059 (patch)
treef9558a2407e7456e1e73d258a5ea549ad5e9bf8e
parent7275d3d361acd9b0dbdfca8d6a3aa39da3d2071d (diff)
downloadrust-f820dc84ca90b2d9955a66dfad44c2767e7bb059.tar.gz
rust-f820dc84ca90b2d9955a66dfad44c2767e7bb059.zip
Fixup some inconsistent whitespace
-rw-r--r--src/librustc_typeck/diagnostics.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/librustc_typeck/diagnostics.rs b/src/librustc_typeck/diagnostics.rs
index 3b6cc37181e..1c07d118f94 100644
--- a/src/librustc_typeck/diagnostics.rs
+++ b/src/librustc_typeck/diagnostics.rs
@@ -1390,8 +1390,7 @@ enum Bar { A(u8), B(&bool), }        // error
 enum Bar<'a> { A(u8), B(&'a bool), } // correct
 
 type MyStr = &str;        // error
-type MyStr<'a> = &'a str; //correct
-
+type MyStr<'a> = &'a str; // correct
 ```
 
 Lifetime elision is a special, limited kind of inference for lifetimes in