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
|
@ -615,7 +615,7 @@ mod tests {
|
|||
})
|
||||
|
||||
pub fn read_all(input: &mut Reader) -> String {
|
||||
input.read_to_str().unwrap()
|
||||
input.read_to_string().unwrap()
|
||||
}
|
||||
|
||||
pub fn run_output(cmd: Command) -> String {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue