Comments only: annotate FIXME in core::str
This commit is contained in:
parent
d0e1591a6a
commit
a214e3abd2
1 changed files with 1 additions and 1 deletions
|
@ -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; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue