Suppress type_complexity, would not be clarified by using a type definition

This commit is contained in:
ice_iix 2020-07-02 17:49:04 -07:00
parent 7ef173416a
commit 5ce06c3067
2 changed files with 2 additions and 0 deletions

View File

@ -956,6 +956,7 @@ pub struct TextureManager {
impl TextureManager {
#[allow(clippy::let_and_return)]
#[allow(clippy::type_complexity)]
fn new(
res: Arc<RwLock<resources::Manager>>,
) -> (

View File

@ -135,6 +135,7 @@ impl Info {
}
}
#[allow(clippy::type_complexity)]
pub fn test_block(
world: &world::World,
pos: Position,