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:
Lyude Paul
2025-11-07 15:25:56 -05:00
committed by Alice Ryhl
parent 80b3dc0a5a
commit e54ad0cd36

View File

@@ -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)]