Fix [needless_bool
] example
This commit is contained in:
parent
0e07f55ceb
commit
649ac36836
@ -34,11 +34,10 @@
|
||||
/// # let x = true;
|
||||
/// if x {
|
||||
/// false
|
||||
/// # ;
|
||||
/// } else {
|
||||
/// true
|
||||
/// # ;
|
||||
/// }
|
||||
/// # ;
|
||||
/// ```
|
||||
///
|
||||
/// Use instead:
|
||||
|
Loading…
Reference in New Issue
Block a user