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

Andreas Hindborg <[email protected]> Thu, 06 Aug 2026 11:47:41 +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.
>
> Reviewed-by: Gary Guo <[email protected]>
> Signed-off-by: FUJITA Tomonori <[email protected]>

Did you want to extract the common code between this one and the fix you
posed:

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


Best regards,
Andreas Hindborg