mirror of
https://github.com/torvalds/linux.git
synced 2025-12-07 20:06:24 +00:00
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:
@@ -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)]
|
||||
|
||||
Reference in New Issue
Block a user