Rename str::to_unique to str::to_owned.
This commit is contained in:
parent
ac50046a11
commit
fe41ccec64
4 changed files with 6 additions and 6 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue