Re: [PATCH net-next v3 2/8] rust: time: Introduce Delta type

From: FUJITA Tomonori
Date: Wed Oct 23 2024 - 07:54:17 EST


On Sat, 19 Oct 2024 14:41:07 +0200
Miguel Ojeda <miguel.ojeda.sandonis@xxxxxxxxx> wrote:

> On Sat, Oct 19, 2024 at 2:21 PM Miguel Ojeda
> <miguel.ojeda.sandonis@xxxxxxxxx> wrote:
>>
>> differently, e.g. `to_micros_ceil`: `to_` since it is not "free"
>
> Well, it is sufficiently free, I guess, considering other methods. I
> noticed `as_*()` in this patch take `self` rather than `&self`, though.

Should use &self for as_*() instead?