summaryrefslogtreecommitdiff
path: root/scripts/const_structs.checkpatch
diff options
context:
space:
mode:
authorGary Guo <gary@garyguo.net>2026-05-12 15:09:51 +0300
committerGary Guo <gary@garyguo.net>2026-05-18 14:18:06 +0300
commit57b0a0d7e5a063edceb50bffa648b49591112896 (patch)
tree16f755461dbe899d3d387f5f1edfe34b1267636a /scripts/const_structs.checkpatch
parent27693a56e8a697f78db535aad2d5267f286e1f51 (diff)
downloadlinux-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 'scripts/const_structs.checkpatch')
0 files changed, 0 insertions, 0 deletions