rust: platform: fix docs related to missing Markdown code spans
authorMiguel Ojeda <ojeda@kernel.org>
Mon, 24 Mar 2025 21:03:55 +0000 (22:03 +0100)
committerMiguel Ojeda <ojeda@kernel.org>
Sun, 25 May 2025 20:58:35 +0000 (22:58 +0200)
commit9f047636831a61ce0840929555245dd17695206a
treec3b3e4654bae9f9da23ed29376c08794f0d154e8
parent3d5bef5d47c371e17041cd6c84e9c08e54ea9e63
rust: platform: fix docs related to missing Markdown code spans

Convert `TODO` from documentation to a normal comment, and put code in
block.

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

Fixes: 683a63befc73 ("rust: platform: add basic platform device / driver abstractions")
Reviewed-by: Benno Lossin <benno.lossin@proton.me>
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Link: https://lore.kernel.org/r/20250324210359.1199574-9-ojeda@kernel.org
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
rust/kernel/platform.rs