extra: missed a couple @
in json
This commit is contained in:
parent
6818b96a66
commit
a7b311ac61
4 changed files with 19 additions and 15 deletions
|
@ -346,7 +346,7 @@ mod test {
|
|||
let mut writer = MemWriter::new();
|
||||
let mut encoder = extra::json::Encoder::init(&mut writer as &mut io::Writer);
|
||||
val.encode(&mut encoder);
|
||||
str::from_utf8(*writer.inner_ref())
|
||||
str::from_utf8_owned(writer.inner())
|
||||
}
|
||||
|
||||
// produce a codemap::span
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue