[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ZTxNPiWeVfFTvxu2@boqun-archlinux>
Date: Fri, 27 Oct 2023 16:52:30 -0700
From: Boqun Feng <boqun.feng@...il.com>
To: Benno Lossin <benno.lossin@...ton.me>
Cc: FUJITA Tomonori <fujita.tomonori@...il.com>, netdev@...r.kernel.org,
rust-for-linux@...r.kernel.org, andrew@...n.ch, tmgross@...ch.edu,
miguel.ojeda.sandonis@...il.com, wedsonaf@...il.com
Subject: Re: [PATCH net-next v7 1/5] rust: core abstractions for network PHY
drivers
[...]
> > [1]: https://play.rust-lang.org/?version=stable&mode=debug&edition=2021&gist=f7c4d87bf29a64af0acc09ff75d3716d
> >
> > So I think that is fine, but maybe Gary has something else to say about it.
> >
>
> Well when `-C opt-level=2`, they are the same:
>
> https://godbolt.org/z/hxxo75YYh
But maybe you are right, no temporary reference in this case.
Regards,
Boqun
Powered by blists - more mailing lists