From f820dc84ca90b2d9955a66dfad44c2767e7bb059 Mon Sep 17 00:00:00 2001 From: Chris Drake <cjdrake@gmail.com> Date: Tue, 20 Oct 2015 00:11:33 -0700 Subject: [PATCH] Fixup some inconsistent whitespace --- src/librustc_typeck/diagnostics.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/librustc_typeck/diagnostics.rs b/src/librustc_typeck/diagnostics.rs index 3b6cc37181ef1..1c07d118f9463 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