std: Rename the ToStr
trait to ToString
, and to_str
to to_string
.
[breaking-change]
This commit is contained in:
parent
bfe4ddfdea
commit
12c334a77b
208 changed files with 1557 additions and 1390 deletions
|
@ -367,7 +367,7 @@ fn json_input(input: &str) -> Result<Output, String> {
|
|||
}
|
||||
};
|
||||
match json::from_reader(&mut input) {
|
||||
Err(s) => Err(s.to_str()),
|
||||
Err(s) => Err(s.to_string()),
|
||||
Ok(json::Object(obj)) => {
|
||||
let mut obj = obj;
|
||||
// Make sure the schema is what we expect
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue