Re: [PATCH v5 1/3] rust: time: rename the rem_nanos() divisor
From: Andreas Hindborg
Date: Mon Nov 02 2026 - 10:24:45 EST
"chenhan" <chenhan0017.work@xxxxxxxxx> writes:
> 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
> Reviewed-by: FUJITA Tomonori <fujita.tomonori@xxxxxxxxx>
> Assisted-by: LLM
> Signed-off-by: chenhan <chenhan0017.work@xxxxxxxxx>
Reviewed-by: Andreas Hindborg <a.hindborg@xxxxxxxxxx>
Best regards,
Andreas Hindborg