From f820dc84ca90b2d9955a66dfad44c2767e7bb059 Mon Sep 17 00:00:00 2001 From: Chris Drake Date: Tue, 20 Oct 2015 00:11:33 -0700 Subject: Fixup some inconsistent whitespace --- src/librustc_typeck/diagnostics.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src') 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 -- cgit 1.4.1-3-g733a5