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>
This commit is contained in:
Shankari Anand
2025-08-19 00:40:34 +05:30
committed by Miguel Ojeda
parent f1d3703fa3
commit 8a7c11af8e

View File

@@ -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 {}
///