From 5d1d510d5447d40d1a76f7d3ebf2bd9557bb7007 Mon Sep 17 00:00:00 2001 From: "Dr. Dystopia" Date: Fri, 3 Dec 2021 10:43:09 +0100 Subject: [PATCH] Resolve all '#[allow(clippy::redundant_static_lifetimes)]' error supressions --- world/src/sim/mod.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/world/src/sim/mod.rs b/world/src/sim/mod.rs index 7bd0a80e1e..e92438604b 100644 --- a/world/src/sim/mod.rs +++ b/world/src/sim/mod.rs @@ -287,8 +287,7 @@ pub type ModernMap = WorldMap_0_7_0; /// TODO: Consider using some naming convention to automatically change this /// with changing versions, or at least keep it in a constant somewhere that's /// easy to change. -#[allow(clippy::redundant_static_lifetimes)] // TODO: Pending review in #587 -pub const DEFAULT_WORLD_MAP: &'static str = "world.map.veloren_0_9_0_0"; +pub const DEFAULT_WORLD_MAP: &str = "world.map.veloren_0_9_0_0"; impl WorldFileLegacy { #[inline]