Skip to content

Commit 309b7f8

Browse files
committed
rust: fix docs for newly exported type
The documentation had gone stale for PointerWrapper due to it not being exported. Signed-off-by: John Baublitz <[email protected]>
1 parent fadcda5 commit 309b7f8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

rust/kernel/types.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,8 @@ impl Mode {
4040
/// Used to convert an object into a raw pointer that represents it.
4141
///
4242
/// It can eventually be converted back into the object. This is used to store objects as pointers
43-
/// in kernel data structures, for example, an implementation of [`FileOperations`] in `struct
43+
/// in kernel data structures, for example, an implementation of
44+
/// [`Operations`][crate::file::Operations] in `struct
4445
/// file::private_data`.
4546
pub trait PointerWrapper {
4647
/// Type of values borrowed between calls to [`PointerWrapper::into_pointer`] and

0 commit comments

Comments
 (0)