From a1898f890d907fadd45a1a927c8cd76dfb4ecdea Mon Sep 17 00:00:00 2001 From: Nick Hamann Date: Sat, 9 May 2015 14:50:28 -0500 Subject: Convert #[lang="..."] to #[lang = "..."] In my opinion this looks nicer, but also it matches the whitespace generally used for stability markers more closely. --- src/libcore/str/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libcore/str/mod.rs') diff --git a/src/libcore/str/mod.rs b/src/libcore/str/mod.rs index c10e1443cfc..4d39607b16e 100644 --- a/src/libcore/str/mod.rs +++ b/src/libcore/str/mod.rs @@ -1185,7 +1185,7 @@ fn eq_slice_(a: &str, b: &str) -> bool { /// Bytewise slice equality /// NOTE: This function is (ab)used in rustc::middle::trans::_match /// to compare &[u8] byte slices that are not necessarily valid UTF-8. -#[lang="str_eq"] +#[lang = "str_eq"] #[inline] fn eq_slice(a: &str, b: &str) -> bool { eq_slice_(a, b) -- cgit 1.4.1-3-g733a5