You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently InPlaceInit is not implemented for Arc, because pin_init() returns a Pin<Self>. But Arc implicitly pins its contents, so the return type should actually be just Self.
Add an associated type to InPlaceInit that is then used as the return type. Also implement InPlaceInit for Arc and ListArc if available 1.
Please take this issue only if you are new to the kernel development process and you would like to use it as a test to submit your first patch to the kernel. Please do not take it if you do not plan to make other contributions to the kernel.
Footnotes
Note that currently only v1 of the list abstractions exist, so ListArc might not be upstreamed. ↩
The text was updated successfully, but these errors were encountered:
Currently
InPlaceInit
is not implemented forArc
, becausepin_init()
returns aPin<Self>
. ButArc
implicitly pins its contents, so the return type should actually be justSelf
.Add an associated type to
InPlaceInit
that is then used as the return type. Also implementInPlaceInit
forArc
andListArc
if available 1.This requires submitting a proper patch to the LKML and the Rust for Linux mailing list. Please recall to test your changes, to use a proper title for the commit, to sign your commit under the Developer's Certificate of Origin and so on. Please see https://docs.kernel.org/process/submitting-patches.html and https://rust-for-linux.com/contributing for details.
Please take this issue only if you are new to the kernel development process and you would like to use it as a test to submit your first patch to the kernel. Please do not take it if you do not plan to make other contributions to the kernel.
Footnotes
Note that currently only v1 of the list abstractions exist, so
ListArc
might not be upstreamed. ↩The text was updated successfully, but these errors were encountered: