about summary refs log tree commit diff
path: root/src/libcore/str.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/libcore/str.rs')
-rw-r--r--src/libcore/str.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libcore/str.rs b/src/libcore/str.rs
index b83ef1064fd..003f2a888c1 100644
--- a/src/libcore/str.rs
+++ b/src/libcore/str.rs
@@ -713,6 +713,7 @@ Section: Comparing strings
 */
 
 /// Bytewise slice equality
+#[lang="str_eq"]
 pure fn eq_slice(a: &str, b: &str) -> bool {
     do as_buf(a) |ap, alen| {
         do as_buf(b) |bp, blen| {