Compare commits

..

3 Commits

Author SHA1 Message Date
f0c33e2ad9
[release] logtimes v1.0.28 2025-04-08 18:36:15 +02:00
cf3ddc6c6a
[rustfmt] include order changed 2025-04-08 18:36:06 +02:00
4f81e1dcf4
[clippy] remove unnecessary semicolon 2025-04-08 18:35:29 +02:00
3 changed files with 4 additions and 4 deletions

2
Cargo.lock generated
View File

@ -110,7 +110,7 @@ checksum = "13dc2df351e3202783a1fe0d44375f7295ffb4049267b0f3018346dc122a1d94"
[[package]] [[package]]
name = "logtimes" name = "logtimes"
version = "1.0.27" version = "1.0.28"
dependencies = [ dependencies = [
"chrono", "chrono",
] ]

View File

@ -1,6 +1,6 @@
[package] [package]
name = "logtimes" name = "logtimes"
version = "1.0.27" version = "1.0.28"
authors = ["Paul Schulze <p.schulze@avm.de>"] authors = ["Paul Schulze <p.schulze@avm.de>"]
edition = "2021" edition = "2021"

View File

@ -1,7 +1,7 @@
use std::{ use std::{
env::args, env::args,
fs::File, fs::File,
io::{stdin, stdout, Error as IoError, ErrorKind, Read, Write}, io::{Error as IoError, ErrorKind, Read, Write, stdin, stdout},
}; };
use chrono::prelude::*; use chrono::prelude::*;
@ -94,7 +94,7 @@ fn run() -> LogtimesResult {
f.write_all(&linebuf[..end])?; f.write_all(&linebuf[..end])?;
f.write_all(b"\n")?; f.write_all(b"\n")?;
f.flush()?; f.flush()?;
}; }
// clear line buffer, so it is fresh for the next line // clear line buffer, so it is fresh for the next line
linebuf.clear(); linebuf.clear();