about summary refs log tree commit diff
path: root/src/libcore
diff options
context:
space:
mode:
authorleonardo.yvens <leoyvens@gmail.com>2017-09-17 13:04:49 -0300
committerleonardo.yvens <leoyvens@gmail.com>2017-09-17 13:04:49 -0300
commit07416452304b2c0b41597fdfe63f4b3b00aeecd9 (patch)
tree68ffd89a67531dbf9e547f019b4336a4b84a208d /src/libcore
parentef227f5ffe438783db0add58208d79dd84158c06 (diff)
downloadrust-07416452304b2c0b41597fdfe63f4b3b00aeecd9.tar.gz
rust-07416452304b2c0b41597fdfe63f4b3b00aeecd9.zip
Remove unused str_eq lang item
It's not a lang item anymore. Also remove outdated note.
Diffstat (limited to 'src/libcore')
-rw-r--r--src/libcore/str/mod.rs3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/libcore/str/mod.rs b/src/libcore/str/mod.rs
index d4fef45ae4e..bfbc0b9004c 100644
--- a/src/libcore/str/mod.rs
+++ b/src/libcore/str/mod.rs
@@ -1400,9 +1400,6 @@ Section: Comparing strings
 */
 
 /// 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"]
 #[inline]
 fn eq_slice(a: &str, b: &str) -> bool {
     a.as_bytes() == b.as_bytes()