aboutsummaryrefslogtreecommitdiffstats
path: root/rust/macros/lib.rs
diff options
context:
space:
mode:
authorPatrick Miller <[email protected]>2024-10-02 02:28:48 +0000
committerMiguel Ojeda <[email protected]>2025-05-26 16:03:09 +0000
commit4bf7b97eb390f0a0730572101e0ce3367d31a770 (patch)
tree788a28da26509cec195fe7c42314ee283d2a9cf7 /rust/macros/lib.rs
parentrust: list: fix path of `assert_pinned!` (diff)
downloadkernel-4bf7b97eb390f0a0730572101e0ce3367d31a770.tar.gz
kernel-4bf7b97eb390f0a0730572101e0ce3367d31a770.zip
rust: make section names plural
Clean Rust documentation section headers to use plural names. Suggested-by: Miguel Ojeda <[email protected]> Link: https://github.com/Rust-for-Linux/linux/issues/1110 Signed-off-by: Patrick Miller <[email protected]> Link: https://lore.kernel.org/r/[email protected] [ Removed the `init` one that doesn't apply anymore and reworded slightly. - Miguel ] Signed-off-by: Miguel Ojeda <[email protected]>
Diffstat (limited to 'rust/macros/lib.rs')
-rw-r--r--rust/macros/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/rust/macros/lib.rs b/rust/macros/lib.rs
index cb429eceff71..b0b86fb9bfab 100644
--- a/rust/macros/lib.rs
+++ b/rust/macros/lib.rs
@@ -263,7 +263,7 @@ pub fn concat_idents(ts: TokenStream) -> TokenStream {
/// literals (lifetimes and documentation strings are not supported). There is a difference in
/// supported modifiers as well.
///
-/// # Example
+/// # Examples
///
/// ```
/// # const binder_driver_return_protocol_BR_OK: u32 = 0;