mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 11:37:44 +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 seconds = offset.whole_seconds();
|
||||||
let mut nanos = offset.subsec_nanoseconds();
|
let mut nanos = offset.subsec_nanoseconds();
|
||||||
if nanos < 0 {
|
if nanos < 0 {
|
||||||
nanos = 1_000_000_000 + nanos;
|
nanos += 1_000_000_000;
|
||||||
seconds -= 1;
|
seconds -= 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue