| commit | 04d1cd6b9534b43c845764b9420bab6a7e09897e | [log] [tgz] |
|---|---|---|
| author | Boqun Feng <boqun.feng@gmail.com> | Sat Jul 19 13:27:00 2025 -0700 |
| committer | Boqun Feng <boqun.feng@gmail.com> | Sat Jul 19 19:24:50 2025 -0700 |
| tree | e8df1fd750a242905e59d083b553d49ed057c963 | |
| parent | cc84ef3b88f407e8bd5a5f7b6906d1e69851c856 [diff] |
rust: list: Add an example for `ListLinksSelfPtr` usage It appears that the support for `ListLinksSelfPtr` is dead code at the moment [1]. Hence add an example similar to `ListLinks` usage to help catching bugs and demonstrating the usage. The example is mostly based on Alice's usage in binder driver [2]. Link: https://lore.kernel.org/rust-for-linux/20250719183649.596051-1-ojeda@kernel.org/ [1] Link: https://lore.kernel.org/rust-for-linux/20231101-rust-binder-v1-4-08ba9197f637@google.com/ [2] Signed-off-by: Boqun Feng <boqun.feng@gmail.com>