about summary refs log tree commit diff
path: root/src/libcore/str
diff options
context:
space:
mode:
authorNick Hamann <nick@wabbo.org>2015-05-09 14:50:28 -0500
committerNick Hamann <nick@wabbo.org>2015-05-09 14:50:28 -0500
commita1898f890d907fadd45a1a927c8cd76dfb4ecdea (patch)
treee4f7c7db03199ba317efa49c0841e2db919c1f17 /src/libcore/str
parentdc630d01e3eae8ba05db98383119bc2ddbbb01c1 (diff)
downloadrust-a1898f890d907fadd45a1a927c8cd76dfb4ecdea.tar.gz
rust-a1898f890d907fadd45a1a927c8cd76dfb4ecdea.zip
Convert #[lang="..."] to #[lang = "..."]
In my opinion this looks nicer, but also it matches the whitespace generally
used for stability markers more closely.
Diffstat (limited to 'src/libcore/str')
-rw-r--r--src/libcore/str/mod.rs2
1 files changed, 1 insertions, 1 deletions
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)