libcore: Remove all uses of ~str
from libcore
.
[breaking-change]
This commit is contained in:
parent
5633d4641f
commit
e878721d70
110 changed files with 868 additions and 792 deletions
|
@ -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());
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue