Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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: 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>

+1 -1
+1 -1
rust/kernel/alloc/allocator_test.rs
··· 4 4 //! of those types (e.g. `CString`) use kernel allocators for instantiation. 5 5 //! 6 6 //! 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 8 8 //! `Cmalloc`. The `Cmalloc` allocator uses libc's `realloc()` function as allocator backend. 9 9 10 10 #![allow(missing_docs)]