Resolve unused '#[allow(clippy::eval_order_dependence)]' error supressions

This commit is contained in:
Dr. Dystopia 2021-07-24 20:24:57 +02:00
parent db48e30ea1
commit 72058ef32e
3 changed files with 0 additions and 3 deletions

View File

@ -118,7 +118,6 @@ impl Server {
trace!("Stop connect_manager");
}
#[allow(clippy::eval_order_dependence)]
async fn loop_participant(&self, p: Participant) {
if let (Ok(cmd_out), Ok(file_out), Ok(cmd_in), Ok(file_in)) = (
p.open(3, Promises::ORDERED | Promises::CONSISTENCY, 0)

View File

@ -262,7 +262,6 @@ pub fn spawn_manifest() -> Vec<(&'static str, DensityFn)> {
]
}
#[allow(clippy::eval_order_dependence)]
pub fn apply_wildlife_supplement<'a, R: Rng>(
// NOTE: Used only for dynamic elements like chests and entities!
dynamic_rng: &mut R,

View File

@ -206,7 +206,6 @@ impl World {
tc.find_accessible_pos(spawn_wpos, ascending)
}
#[allow(clippy::eval_order_dependence)]
#[allow(clippy::result_unit_err)]
pub fn generate_chunk(
&self,