diff options
| author | Yilin Chen <1479826151@qq.com> | 2026-01-12 16:00:47 +0800 |
|---|---|---|
| committer | Viresh Kumar <viresh.kumar@linaro.org> | 2026-01-27 11:21:23 +0530 |
| commit | 11af6e102d31433e3084d6d6cdb2b2fe6c23d1a9 (patch) | |
| tree | ba2a6056ab3c9c8f576c76fa6d500053304616e3 /rust/alloc/collections/git@git.tavy.me:linux.git | |
| parent | 997c021abc6eb9cf7df39fa77fa5e666ad55e3a3 (diff) | |
rust: cpumask: rename methods of Cpumask for clarity and consistency
Rename `as_ref` and `as_mut_ref` to `from_raw` and `from_raw_mut` to
align with the established naming convention for constructing types
from raw pointers in the kernel's Rust codebase.
Signed-off-by: Yilin Chen <1479826151@qq.com>
Reviewed-by: Gary Guo <gary@garyguo.net>
Reviewed-by: Alice Ryhl <aliceryhl@google.com>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Diffstat (limited to 'rust/alloc/collections/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
