]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
rust: alloc: add missing Markdown code span
authorMiguel Ojeda <ojeda@kernel.org>
Mon, 24 Mar 2025 21:03:51 +0000 (22:03 +0100)
committerMiguel Ojeda <ojeda@kernel.org>
Sun, 25 May 2025 20:58:35 +0000 (22:58 +0200)
Add missing Markdown code span.

This was found using the Clippy `doc_markdown` lint, which we may want
to enable.

Fixes: dd09538fb409 ("rust: alloc: implement `Cmalloc` in module allocator_test")
Reviewed-by: Benno Lossin <benno.lossin@proton.me>
Acked-by: Danilo Krummrich <dakr@kernel.org>
Link: https://lore.kernel.org/r/20250324210359.1199574-5-ojeda@kernel.org
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
rust/kernel/alloc/allocator_test.rs

index c37d4c0c64e9f9101f1182f3a09f8707ce43ff33..d19c06ef0498c1b640603d9a981bd1222d2dbde7 100644 (file)
@@ -4,7 +4,7 @@
 //! of those types (e.g. `CString`) use kernel allocators for instantiation.
 //!
 //! In order to allow userspace test cases to make use of such types as well, implement the
-//! `Cmalloc` allocator within the allocator_test module and type alias all kernel allocators to
+//! `Cmalloc` allocator within the `allocator_test` module and type alias all kernel allocators to
 //! `Cmalloc`. The `Cmalloc` allocator uses libc's `realloc()` function as allocator backend.
 
 #![allow(missing_docs)]