[clippy] fix: byte array -> byte str

This commit is contained in:
Paul Schulze 2024-09-09 11:19:02 +02:00
parent e5952d5467
commit a6d8eba632
Signed by: ddidderr
GPG Key ID: 2186CDA2E090A755

View File

@ -89,13 +89,13 @@ fn run() -> LogtimesResult {
let end = trim_end(&linebuf);
out.write_all(&linebuf[..end])?;
out.write_all(&[b'\r', b'\n'])?;
out.write_all(b"\r\n")?;
out.flush()?;
if let Some(ref mut f) = log_file {
print_time(f)?;
f.write_all(&linebuf[..end])?;
f.write_all(&[b'\n'])?;
f.write_all(b"\n")?;
f.flush()?;
};