Skip to content
Snippets Groups Projects
Commit 28e84838 authored by Francesco Zardi's avatar Francesco Zardi Committed by Miguel Ojeda
Browse files

rust: block: fix formatting of `kernel::block::mq::request` module


Fix several issues with rustdoc formatting for the
`kernel::block::mq::Request` module, in particular:

  - An ordered list not rendering correctly, fixed by using numbers
    prefixes instead of letters.

  - Code snippets formatted as regular text, fixed by wrapping the
    code with `back-ticks`.

  - References to types missing intra-doc links, fixed by wrapping the
    types with [square brackets].

Reported-by: default avatarMiguel Ojeda <ojeda@kernel.org>
Closes: https://github.com/Rust-for-Linux/linux/issues/1108


Signed-off-by: default avatarFrancesco Zardi <frazar00@gmail.com>
Acked-by: default avatarAndreas Hindborg <a.hindborg@kernel.org>
Fixes: 3253aba3 ("rust: block: introduce `kernel::block::mq` module")
Link: https://lore.kernel.org/r/20240903173027.16732-3-frazar00@gmail.com


[ Added an extra intra-doc link. Took the chance to add some periods
  for consistency. Reworded slightly. - Miguel ]
Signed-off-by: default avatarMiguel Ojeda <ojeda@kernel.org>
parent 15541c92
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment