Commit e54ad0cd authored by Lyude Paul's avatar Lyude Paul Committed by Alice Ryhl
Browse files

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: c284d3e4 ("rust: drm: gem: Add GEM object abstraction")
Signed-off-by: default avatarLyude Paul <lyude@redhat.com>
Link: https://patch.msgid.link/20251107202603.465932-1-lyude@redhat.com


Signed-off-by: default avatarAlice Ryhl <aliceryhl@google.com>
parent 80b3dc0a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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)]