Resolve all '#[allow(clippy::redundant_static_lifetimes)]' error supressions

This commit is contained in:
Dr. Dystopia 2021-12-03 10:43:09 +01:00
parent dde1bacad7
commit 5d1d510d54

View File

@ -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]