Skip to content

Commit a283c6a

Browse files
committed
rust: kernel: fix non-empty lines after section headers
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
1 parent 2119a6e commit a283c6a

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

rust/kernel/build_assert.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
/// be called, a build error will be triggered.
1010
///
1111
/// # Examples
12+
///
1213
/// ```
1314
/// # use kernel::build_error;
1415
/// #[inline]

rust/kernel/fs/param.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -434,6 +434,7 @@ macro_rules! count_brace_items {
434434
/// Defines the file system parameters of a given file system context.
435435
///
436436
/// # Examples
437+
///
437438
/// ```
438439
/// # use kernel::prelude::*;
439440
/// # use kernel::{c_str, fs, str::CString};

rust/kernel/module_param.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -211,6 +211,7 @@ macro_rules! impl_module_param {
211211
/// Generate a static [`kernel_param_ops`](../../../include/linux/moduleparam.h) struct.
212212
///
213213
/// # Examples
214+
///
214215
/// ```ignore
215216
/// make_param_ops!(
216217
/// /// Documentation for new param ops.

0 commit comments

Comments
 (0)