sudo-rs icon indicating copy to clipboard operation
sudo-rs copied to clipboard

Replace `system::time::Duration` with `std::time::Duration`

Open joriskleiber opened this issue 3 months ago • 0 comments
trafficstars

This pull request replaces system::time::Duration with std::time::Duration.

I couldn't find any code that still uses negative duration, so I replaced it with it's std equivalent. The only place, where I'm not sure if its possible to use an negative duration, is the prior_validity property from the Authentication struct.

Should close #1170

joriskleiber avatar Jul 22 '25 03:07 joriskleiber