mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Resolve unused '#[allow(clippy::eval_order_dependence)]' error supressions
This commit is contained in:
parent
db48e30ea1
commit
72058ef32e
@ -118,7 +118,6 @@ impl Server {
|
|||||||
trace!("Stop connect_manager");
|
trace!("Stop connect_manager");
|
||||||
}
|
}
|
||||||
|
|
||||||
#[allow(clippy::eval_order_dependence)]
|
|
||||||
async fn loop_participant(&self, p: Participant) {
|
async fn loop_participant(&self, p: Participant) {
|
||||||
if let (Ok(cmd_out), Ok(file_out), Ok(cmd_in), Ok(file_in)) = (
|
if let (Ok(cmd_out), Ok(file_out), Ok(cmd_in), Ok(file_in)) = (
|
||||||
p.open(3, Promises::ORDERED | Promises::CONSISTENCY, 0)
|
p.open(3, Promises::ORDERED | Promises::CONSISTENCY, 0)
|
||||||
|
@ -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>(
|
pub fn apply_wildlife_supplement<'a, R: Rng>(
|
||||||
// NOTE: Used only for dynamic elements like chests and entities!
|
// NOTE: Used only for dynamic elements like chests and entities!
|
||||||
dynamic_rng: &mut R,
|
dynamic_rng: &mut R,
|
||||||
|
@ -206,7 +206,6 @@ impl World {
|
|||||||
tc.find_accessible_pos(spawn_wpos, ascending)
|
tc.find_accessible_pos(spawn_wpos, ascending)
|
||||||
}
|
}
|
||||||
|
|
||||||
#[allow(clippy::eval_order_dependence)]
|
|
||||||
#[allow(clippy::result_unit_err)]
|
#[allow(clippy::result_unit_err)]
|
||||||
pub fn generate_chunk(
|
pub fn generate_chunk(
|
||||||
&self,
|
&self,
|
||||||
|
Loading…
Reference in New Issue
Block a user