mirror of
https://github.com/uutils/coreutils
synced 2024-12-13 06:42:42 +00:00
touch: fix clippy lints
This commit is contained in:
parent
19e456fe2a
commit
9badfcd7d2
1 changed files with 1 additions and 1 deletions
|
@ -87,7 +87,7 @@ pub fn uumain(args: impl uucore::Args) -> UResult<()> {
|
|||
let mut seconds = offset.whole_seconds();
|
||||
let mut nanos = offset.subsec_nanoseconds();
|
||||
if nanos < 0 {
|
||||
nanos = 1_000_000_000 + nanos;
|
||||
nanos += 1_000_000_000;
|
||||
seconds -= 1;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue