1
Fork 0

Rename str::to_unique to str::to_owned.

This commit is contained in:
Erick Tryzelaar 2012-10-18 11:04:59 -07:00
parent ac50046a11
commit fe41ccec64
4 changed files with 6 additions and 6 deletions

View file

@ -897,7 +897,7 @@ pub impl Deserializer: serialization::Deserializer {
// FIXME(#3148) This hint should not be necessary.
let obj: &self/~Object = obj;
match obj.find_ref(&name.to_unique()) {
match obj.find_ref(&name.to_owned()) {
None => fail fmt!("no such field: %s", name),
Some(json) => {
self.stack.push(json);