From 5ce06c3067654509768453ea846a33648fc3d325 Mon Sep 17 00:00:00 2001 From: ice_iix Date: Thu, 2 Jul 2020 17:49:04 -0700 Subject: [PATCH] Suppress type_complexity, would not be clarified by using a type definition --- src/render/mod.rs | 1 + src/server/target.rs | 1 + 2 files changed, 2 insertions(+) diff --git a/src/render/mod.rs b/src/render/mod.rs index 5c52e23..49a04a3 100644 --- a/src/render/mod.rs +++ b/src/render/mod.rs @@ -956,6 +956,7 @@ pub struct TextureManager { impl TextureManager { #[allow(clippy::let_and_return)] + #[allow(clippy::type_complexity)] fn new( res: Arc>, ) -> ( diff --git a/src/server/target.rs b/src/server/target.rs index c8c1ba4..8348e98 100644 --- a/src/server/target.rs +++ b/src/server/target.rs @@ -135,6 +135,7 @@ impl Info { } } +#[allow(clippy::type_complexity)] pub fn test_block( world: &world::World, pos: Position,