File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -78,7 +78,7 @@ pub trait Module: Sized + Sync {
78
78
79
79
/// Equivalent to `THIS_MODULE` in the C API.
80
80
///
81
- /// C header: `include/linux/export.h`
81
+ /// C header: [ `include/linux/export.h`](srctree/include/linux/export.h)
82
82
pub struct ThisModule ( * mut bindings:: module ) ;
83
83
84
84
// SAFETY: `THIS_MODULE` may be used from all threads within a module.
Original file line number Diff line number Diff line change @@ -87,6 +87,8 @@ pub struct CondVar {
87
87
88
88
/// A condvar needs to be pinned because it contains a [`struct list_head`] that is
89
89
/// self-referential, so it cannot be safely moved once it is initialised.
90
+ ///
91
+ /// [`struct list_head`]: srctree/include/linux/types.h
90
92
#[ pin]
91
93
_pin : PhantomPinned ,
92
94
}
You can’t perform that action at this time.
0 commit comments