stdio and c_vec cleanup

This commit is contained in:
auronandace
2026-02-20 14:10:34 +00:00
parent dbe7fb0b18
commit 768e28cb4e
5 changed files with 16 additions and 16 deletions
+1 -1
View File
@@ -1124,7 +1124,7 @@ pub unsafe extern "C" fn puts(s: *const c_char) -> c_int {
if stream.write_all(&buf).is_err() {
return -1;
}
if stream.write(&[b'\n']).is_err() {
if stream.write(b"\n").is_err() {
return -1;
}
0