Skip to content

Commit

Permalink
rust: kernel: add docs for macro stub
Browse files Browse the repository at this point in the history
So that we can enable `-Wmissing_docs` globally.

Signed-off-by: Miguel Ojeda <[email protected]>
  • Loading branch information
ojeda committed Jul 1, 2021
1 parent 085cf66 commit 26a4431
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rust/kernel/print.rs
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ macro_rules! print_macro (
);
);

// Stub for doctests
/// Stub for doctests
#[cfg(testlib)]
#[macro_export]
macro_rules! print_macro (
Expand Down

0 comments on commit 26a4431

Please sign in to comment.