Update clippy_lints/src/ref_option_ref.rs
Co-authored-by: Philipp Krones <hello@philkrones.com>
This commit is contained in:
parent
7fd74c6bf6
commit
db40a07665
1 changed files with 1 additions and 1 deletions
|
|
@ -25,7 +25,7 @@ declare_clippy_lint! {
|
|||
/// let x: Option<&u32> = Some(&0u32);
|
||||
/// ```
|
||||
pub REF_OPTION_REF,
|
||||
style,
|
||||
pedantic,
|
||||
"use `Option<&T>` instead of `&Option<&T>`"
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue