Re: [PATCH v4 3/7] rust: time: add Delta::as_millis_ceil()

Andreas Hindborg <[email protected]> Wed, 05 Aug 2026 14:47:14 +0200
Newsgroups org.kernel.vger.rust-for-linux
Message-ID <[email protected]>
FUJITA Tomonori <[email protected]> writes:

> From: FUJITA Tomonori <[email protected]>
>
> Add a ceiling variant, mirroring the existing as_micros_ceil() since
> the existing as_millis() truncates towards zero.
>
> Signed-off-by: FUJITA Tomonori <[email protected]>

Won't this change hit the same bug you fixed in [1]?

Best regards,
Andreas Hindborg


[1] https://lore.kernel.org/r/[email protected]