rust/drm/gem: Fix missing header in `Object` rustdoc
Subsystems (3)
PATCH 1/1 rust/drm/gem: Fix missing header in `Object` rustdoc
Invariants should be prefixed with a # to turn it into a header.
There are no functional changes in this patch.
Signed-off-by Lyude Paul <[email protected]>
--- rust/kernel/drm/gem/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
rust/kernel/drm/gem/mod.rs +1 -1
@@ -164,7 +164,7 @@ impl<T: IntoGEMObject> BaseObject for T {}/// A base GEM object. /// -/// Invariants +/// # Invariants /// /// - `self.obj` is a valid instance of a `struct drm_gem_object`. #[repr( C )]
base-commit: ade19c5060dfa39b84a9475a4a6b05e2a8a2b3ac
Signature · 1 line
2.51.1
Quoted 6 lines · Lyude Paul
Invariants should be prefixed with a # to turn it into a header.
There are no functional changes in this patch.
Signed-off-by Lyude Paul <[email protected]>
Thanks for taking care of the docs, very much appreciated :)
Fixes c284d3e42338 ("rust: drm: gem: Add GEM object abstraction")
Cheers,
Miguel
Quoted 5 lines · Lyude Paul
Invariants should be prefixed with a # to turn it into a header.
There are no functional changes in this patch.
Signed-off-by Lyude Paul <[email protected]>
Applied to drm-rust-next. Thanks!