diff options
| author | 2025-08-19 00:40:34 +0530 | |
|---|---|---|
| committer | 2025-09-08 00:11:19 +0200 | |
| commit | 8a7c11af8e59e66d1e962fa863a77e59ef293ea7 (patch) | |
| tree | 205d10c807d3a4b17b5cd097938c570b9eea672e /rust/kernel | |
| parent | Merge tag 'alloc-next-v6.18-2025-09-04' of https://github.com/Rust-for-Linux/linux into rust-next (diff) | |
| download | wireguard-linux-8a7c11af8e59e66d1e962fa863a77e59ef293ea7.tar.xz wireguard-linux-8a7c11af8e59e66d1e962fa863a77e59ef293ea7.zip | |
rust: sync: Update ARef and AlwaysRefCounted imports from sync::aref
Update the in-file reference of sync/aref.rs to import `ARef` and
`AlwaysRefCounted` from `sync::aref` instead of `types`.
This aligns with the ongoing effort to move `ARef` and
`AlwaysRefCounted` to sync.
Suggested-by: Benno Lossin <lossin@kernel.org>
Link: https://github.com/Rust-for-Linux/linux/issues/1173
Signed-off-by: Shankari Anand <shankari.ak0208@gmail.com>
Reviewed-by: Benno Lossin <lossin@kernel.org>
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
Diffstat (limited to 'rust/kernel')
| -rw-r--r-- | rust/kernel/sync/aref.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rust/kernel/sync/aref.rs b/rust/kernel/sync/aref.rs index dbd77bb68617..c53d42cb0734 100644 --- a/rust/kernel/sync/aref.rs +++ b/rust/kernel/sync/aref.rs @@ -97,7 +97,7 @@ impl<T: AlwaysRefCounted> ARef<T> { /// /// ``` /// use core::ptr::NonNull; - /// use kernel::types::{ARef, AlwaysRefCounted}; + /// use kernel::sync::aref::{ARef, AlwaysRefCounted}; /// /// struct Empty {} /// |
