diff options
| author | Gary Guo <gary@garyguo.net> | 2026-05-12 15:09:51 +0300 |
|---|---|---|
| committer | Gary Guo <gary@garyguo.net> | 2026-05-18 14:18:06 +0300 |
| commit | 57b0a0d7e5a063edceb50bffa648b49591112896 (patch) | |
| tree | 16f755461dbe899d3d387f5f1edfe34b1267636a /include/linux/debugobjects.h | |
| parent | 27693a56e8a697f78db535aad2d5267f286e1f51 (diff) | |
| download | linux-57b0a0d7e5a063edceb50bffa648b49591112896.tar.xz | |
rust: pin-init: internal: make `make_closure` inherent methods
The `InitData` and `PinData` traits do not need to exist, the inference
helpers could be inherent methods instead.
There is no risk for calling the wrong methods even when user defines it,
as inherent methods take priority over trait methods.
With this change, it unlocks the possibility of attaching additional bounds
to the method per type, which is not possible for trait methods.
Signed-off-by: Gary Guo <gary@garyguo.net>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions
