1
Fork 0

libstd: remove unnecessary to_string() calls

This commit is contained in:
Jorge Aparicio 2014-11-27 19:45:47 -05:00
parent ba01ea3730
commit c2da923fc9
17 changed files with 96 additions and 96 deletions

View file

@ -527,7 +527,7 @@ mod tests {
set_stdout(box w);
println!("hello!");
});
assert_eq!(r.read_to_string().unwrap(), "hello!\n".to_string());
assert_eq!(r.read_to_string().unwrap(), "hello!\n");
}
#[test]