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.
Cc: stable@vger.kernel.org
Fixes: c284d3e423 ("rust: drm: gem: Add GEM object abstraction")
Signed-off-by: Lyude Paul <lyude@redhat.com>
Link: https://patch.msgid.link/20251107202603.465932-1-lyude@redhat.com
Signed-off-by: Alice Ryhl <aliceryhl@google.com>
This commit is contained in:
parent
80b3dc0a5a
commit
e54ad0cd36
|
|
@ -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)]
|
||||
|
|
|
|||
Loading…
Reference in New Issue