1
Fork 0

libcore: Remove all uses of ~str from libcore.

[breaking-change]
This commit is contained in:
Patrick Walton 2014-05-19 23:19:56 -07:00
parent 5633d4641f
commit e878721d70
110 changed files with 868 additions and 792 deletions

View file

@ -2483,7 +2483,7 @@ mod tests {
// We can't compare the strings directly because the object fields be
// printed in a different order.
assert_eq!(a.clone(), from_str(a.to_str()).unwrap());
assert_eq!(a.clone(), from_str(a.to_str().as_slice()).unwrap());
assert_eq!(a.clone(),
from_str(a.to_pretty_str().as_slice()).unwrap());
}