From 12c334a77b897f7b1cb6cff3c56a71ecb89c82af Mon Sep 17 00:00:00 2001 From: Richo Healey Date: Sat, 21 Jun 2014 03:39:03 -0700 Subject: std: Rename the `ToStr` trait to `ToString`, and `to_str` to `to_string`. [breaking-change] --- src/libstd/io/process.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libstd/io/process.rs') diff --git a/src/libstd/io/process.rs b/src/libstd/io/process.rs index 8e1747146e4..8f1046b62fd 100644 --- a/src/libstd/io/process.rs +++ b/src/libstd/io/process.rs @@ -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 { -- cgit 1.4.1-3-g733a5