Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
Co-authored-by: Miguel Ojeda <[email protected]>
  • Loading branch information
adamrk and ojeda authored Feb 18, 2021
1 parent 15729cb commit a9ce588
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rust/kernel/module_param.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ pub trait ModuleParam : core::fmt::Display + core::marker::Sized {
/// argument (e.g. just `module.param` instead of `module.param=foo`).
const NOARG_ALLOWED: bool;

/// `arg = None` indicates that the parameter was passed without an
/// argument. If `NOARG_ALLOWED` is set to `false` then `arg` is guarenteed
/// `arg == None` indicates that the parameter was passed without an
/// argument. If `NOARG_ALLOWED` is set to `false` then `arg` is guaranteed
/// to always be `Some(_)`.
fn try_from_param_arg(arg: Option<&[u8]>) -> Option<Self>;

Expand Down

0 comments on commit a9ce588

Please sign in to comment.