Skip to content

Commit abd21a1

Browse files
committed
rust: alloc: add missing Markdown code span
Add missing Markdown code span. This was found using the Clippy `doc_markdown` lint, which we may want to enable. Fixes: dd09538 ("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>
1 parent 673ec36 commit abd21a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rust/kernel/alloc/allocator_test.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
//! of those types (e.g. `CString`) use kernel allocators for instantiation.
55
//!
66
//! In order to allow userspace test cases to make use of such types as well, implement the
7-
//! `Cmalloc` allocator within the allocator_test module and type alias all kernel allocators to
7+
//! `Cmalloc` allocator within the `allocator_test` module and type alias all kernel allocators to
88
//! `Cmalloc`. The `Cmalloc` allocator uses libc's `realloc()` function as allocator backend.
99
1010
#![allow(missing_docs)]

0 commit comments

Comments
 (0)