This commit is contained in:
Ryan Dahl 2024-07-26 09:55:21 -04:00
parent 1cdb3e8161
commit ccea20d2ea

View File

@ -125,9 +125,7 @@ pub async fn kernel(
fn write(&mut self, buf: &[u8]) -> std::io::Result<usize> {
self
.0
.send(StreamContent::stdout(
&String::from_utf8_lossy(buf),
))
.send(StreamContent::stdout(&String::from_utf8_lossy(buf)))
.ok();
Ok(buf.len())
}