clippy: allow blocks_in_if_conditions everywhere

This commit is contained in:
Noah Hellman 2023-03-01 23:02:38 +01:00
parent 7a10767fed
commit 722f549ffd
2 changed files with 2 additions and 1 deletions

View file

@ -810,7 +810,6 @@ impl<I: Iterator<Item = char> + Clone> Iterator for Parser<I> {
type Item = Event;
fn next(&mut self) -> Option<Self::Item> {
#[allow(clippy::blocks_in_if_conditions)]
while self.events.is_empty()
|| !self.openers.is_empty()
|| self // for merge or attributes

View file

@ -46,6 +46,8 @@
//! # }
//! ```
#![allow(clippy::blocks_in_if_conditions)]
use std::fmt;
use std::fmt::Write as FmtWrite;
use std::io;