1
Fork 0

Fix fallout from coercion removal

This commit is contained in:
Nick Cameron 2014-11-17 21:39:01 +13:00
parent 803aacd5ae
commit ca08540a00
142 changed files with 1269 additions and 1283 deletions

View file

@ -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']))
})
}