diff --git a/rustcoalescence/scenarios/src/lib.rs b/rustcoalescence/scenarios/src/lib.rs index 80c6c41f9..5af96945b 100644 --- a/rustcoalescence/scenarios/src/lib.rs +++ b/rustcoalescence/scenarios/src/lib.rs @@ -24,7 +24,10 @@ use necsim_impls_no_std::{ pub mod almost_infinite; #[cfg(feature = "non-spatial")] pub mod non_spatial; -#[cfg(any(feature = "spatially-explicit-uniform-turnover", feature = "spatially-explicit-turnover-map"))] +#[cfg(any( + feature = "spatially-explicit-uniform-turnover", + feature = "spatially-explicit-turnover-map" +))] pub mod spatially_explicit; #[cfg(feature = "spatially-implicit")] pub mod spatially_implicit; diff --git a/rustcoalescence/src/args/config/scenario.rs b/rustcoalescence/src/args/config/scenario.rs index 08c89ad4e..787e41d6a 100644 --- a/rustcoalescence/src/args/config/scenario.rs +++ b/rustcoalescence/src/args/config/scenario.rs @@ -5,26 +5,18 @@ pub enum Scenario { #[cfg(feature = "spatially-explicit-uniform-turnover-scenario")] #[serde(alias = "SpatiallyExplicit")] SpatiallyExplicitUniformTurnover( - rustcoalescence_scenarios::spatially_explicit::SpatiallyExplicitUniformTurnoverArguments + rustcoalescence_scenarios::spatially_explicit::SpatiallyExplicitUniformTurnoverArguments, ), #[cfg(feature = "spatially-explicit-turnover-map-scenario")] SpatiallyExplicitTurnoverMap( - rustcoalescence_scenarios::spatially_explicit::SpatiallyExplicitTurnoverMapArguments + rustcoalescence_scenarios::spatially_explicit::SpatiallyExplicitTurnoverMapArguments, ), #[cfg(feature = "non-spatial-scenario")] - NonSpatial( - rustcoalescence_scenarios::non_spatial::NonSpatialArguments - ), + NonSpatial(rustcoalescence_scenarios::non_spatial::NonSpatialArguments), #[cfg(feature = "spatially-implicit-scenario")] - SpatiallyImplicit( - rustcoalescence_scenarios::spatially_implicit::SpatiallyImplicitArguments - ), + SpatiallyImplicit(rustcoalescence_scenarios::spatially_implicit::SpatiallyImplicitArguments), #[cfg(feature = "almost-infinite-scenario")] - AlmostInfinite( - rustcoalescence_scenarios::almost_infinite::AlmostInfiniteArguments - ), + AlmostInfinite(rustcoalescence_scenarios::almost_infinite::AlmostInfiniteArguments), #[cfg(feature = "wrapping-noise-scenario")] - WrappingNoise( - rustcoalescence_scenarios::wrapping_noise::WrappingNoiseArguments - ), + WrappingNoise(rustcoalescence_scenarios::wrapping_noise::WrappingNoiseArguments), }