1
Fork 0

Comments only: annotate FIXME in core::str

This commit is contained in:
Tim Chevalier 2012-06-14 19:19:39 -07:00
parent d0e1591a6a
commit a214e3abd2

View file

@ -594,7 +594,7 @@ Section: Comparing strings
#[doc = "Bytewise string equality"]
pure fn eq(&&a: str, &&b: str) -> bool {
// FIXME: This should just be "a == b" but that calls into the shape code
// :(
// :( (#2627)
let a_len = a.len();
let b_len = b.len();
if a_len != b_len { ret false; }