Skip to content

Commit fadcda5

Browse files
committed
rust: export PointerWrapper from kernel
Previously, only the concrete type could be specified for the data parameter of kernel::file::Operations method implementations. Exporting PointerWrapper now allows specifying the data parameter in terms of the associated type, Self::Data. Signed-off-by: John Baublitz <[email protected]>
1 parent f7b260a commit fadcda5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rust/kernel/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ pub use build_error::build_error;
106106
pub use crate::error::{to_result, Error, Result};
107107
pub use crate::types::{
108108
bit, bits_iter, ARef, AlwaysRefCounted, Bool, Either, Either::Left, Either::Right, False, Mode,
109-
Opaque, ScopeGuard, True,
109+
Opaque, PointerWrapper, ScopeGuard, True,
110110
};
111111

112112
use core::marker::PhantomData;

0 commit comments

Comments
 (0)