libstd: remove unnecessary to_string()
calls
This commit is contained in:
parent
ba01ea3730
commit
c2da923fc9
17 changed files with 96 additions and 96 deletions
|
@ -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]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue