Thread (5 messages) 5 messages, 2 authors, 2025-06-23

Re: [PATCH V2] rust: Use consistent "# Examples" heading style in rustdoc

From: Miguel Ojeda <hidden>
Date: 2025-06-23 23:13:58
Also in: linux-clk, linux-pci, linux-pm, lkml, rust-for-linux

On Tue, Jun 10, 2025 at 11:03 AM Viresh Kumar [off-list ref] wrote:
Use a consistent `# Examples` heading in rustdoc across the codebase.

Some modules previously used `## Examples` (even when they should be
available as top-level headers), while others used `# Example`, which
deviates from the preferred `# Examples` style.

Suggested-by: Miguel Ojeda <ojeda@kernel.org>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Acked-by: Benno Lossin <lossin@kernel.org>
Applied to `rust-next` -- thanks everyone!

This is a trivial change that shouldn't be able to break anything
anywhere, and I haven't heard any complaints, so I will go ahead and
take it.

If someone wants to give Acked-by's, I can still take them.

Cheers,
Miguel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help