Re: [PATCH v3 1/3] rust: time: rename the rem_nanos() divisor
From: FUJITA Tomonori
Date: Wed Oct 21 2026 - 03:34:02 EST
On Sat, 17 Oct 2026 19:11:32 +0800
chenhan <chenhan0017.work@xxxxxxxxx> wrote:
> The argument to rem_nanos() is the divisor, while self holds the
> dividend. Rename the argument and correct the documentation. Drop the
> architecture-specific implementation explanation from the public API
> documentation; the argument type already states the divisor's width.
>
> This does not change the function's type or behavior. It is a preparation
> for documenting and checking the invalid divisors in the next patch.
>
> Cc: stable@xxxxxxxxxxxxxxx # prerequisite for the Delta division/remainder fix
> Assisted-by: LLM
> Signed-off-by: chenhan <chenhan0017.work@xxxxxxxxx>
Reviewed-by: FUJITA Tomonori <fujita.tomonori@xxxxxxxxx>