clippy: allow blocks_in_if_conditions everywhere
This commit is contained in:
parent
7a10767fed
commit
722f549ffd
2 changed files with 2 additions and 1 deletions
|
@ -810,7 +810,6 @@ impl<I: Iterator<Item = char> + Clone> Iterator for Parser<I> {
|
||||||
type Item = Event;
|
type Item = Event;
|
||||||
|
|
||||||
fn next(&mut self) -> Option<Self::Item> {
|
fn next(&mut self) -> Option<Self::Item> {
|
||||||
#[allow(clippy::blocks_in_if_conditions)]
|
|
||||||
while self.events.is_empty()
|
while self.events.is_empty()
|
||||||
|| !self.openers.is_empty()
|
|| !self.openers.is_empty()
|
||||||
|| self // for merge or attributes
|
|| self // for merge or attributes
|
||||||
|
|
|
@ -46,6 +46,8 @@
|
||||||
//! # }
|
//! # }
|
||||||
//! ```
|
//! ```
|
||||||
|
|
||||||
|
#![allow(clippy::blocks_in_if_conditions)]
|
||||||
|
|
||||||
use std::fmt;
|
use std::fmt;
|
||||||
use std::fmt::Write as FmtWrite;
|
use std::fmt::Write as FmtWrite;
|
||||||
use std::io;
|
use std::io;
|
||||||
|
|
Loading…
Reference in a new issue