Fix fallout from coercion removal
This commit is contained in:
parent
803aacd5ae
commit
ca08540a00
142 changed files with 1269 additions and 1283 deletions
|
@ -237,7 +237,7 @@ pub fn print(s: &str) {
|
|||
/// `\n` character is printed to the console after the string.
|
||||
pub fn println(s: &str) {
|
||||
with_task_stdout(|io| {
|
||||
io.write(s.as_bytes()).and_then(|()| io.write([b'\n']))
|
||||
io.write(s.as_bytes()).and_then(|()| io.write(&[b'\n']))
|
||||
})
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue