File tree Expand file tree Collapse file tree 2 files changed +9
-5
lines changed
necsim/impls/no-std/src/cogs/habitat/almost_infinite
rustcoalescence/src/args/config Expand file tree Collapse file tree 2 files changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -227,9 +227,7 @@ impl<'de> serde::Deserialize<'de> for Log2U16 {
227
227
type Value = Log2U16 ;
228
228
229
229
fn expecting ( & self , fmt : & mut alloc:: fmt:: Formatter ) -> alloc:: fmt:: Result {
230
- fmt. write_str (
231
- "an integer in 2^{0; ...; 15} or its base-two scientific notation string" ,
232
- )
230
+ fmt. write_str ( "an integer in 2^{0..=15} or its base-two scientific notation string" )
233
231
}
234
232
235
233
fn visit_u64 < E : serde:: de:: Error > ( self , v : u64 ) -> Result < Self :: Value , E > {
Original file line number Diff line number Diff line change @@ -18,9 +18,15 @@ pub enum Scenario {
18
18
AlmostInfiniteNormalDispersal ( rustcoalescence_scenarios:: almost_infinite:: normal:: AlmostInfiniteNormalDispersalArguments ) ,
19
19
#[ cfg( feature = "almost-infinite-clark2dt-dispersal-scenario" ) ]
20
20
AlmostInfiniteClark2DtDispersal ( rustcoalescence_scenarios:: almost_infinite:: clark2dt:: AlmostInfiniteClark2DtDispersalArguments ) ,
21
- #[ cfg( feature = "almost-infinite-normal-dispersal-scenario" ) ]
21
+ #[ cfg( all(
22
+ feature = "almost-infinite-normal-dispersal-scenario" ,
23
+ feature = "almost-infinite-downscaled-scenario" ,
24
+ ) ) ]
22
25
AlmostInfiniteDownscaledNormalDispersal ( rustcoalescence_scenarios:: almost_infinite:: downscaled:: AlmostInfiniteDownscaledArguments < rustcoalescence_scenarios:: almost_infinite:: normal:: AlmostInfiniteNormalDispersalScenario > ) ,
23
- #[ cfg( feature = "almost-infinite-clark2dt-dispersal-scenario" ) ]
26
+ #[ cfg( all(
27
+ feature = "almost-infinite-clark2dt-dispersal-scenario" ,
28
+ feature = "almost-infinite-downscaled-scenario" ,
29
+ ) ) ]
24
30
AlmostInfiniteDownscaledClark2DtDispersal ( rustcoalescence_scenarios:: almost_infinite:: downscaled:: AlmostInfiniteDownscaledArguments < rustcoalescence_scenarios:: almost_infinite:: clark2dt:: AlmostInfiniteClark2DtDispersalScenario > ) ,
25
31
#[ cfg( feature = "wrapping-noise-scenario" ) ]
26
32
WrappingNoise ( rustcoalescence_scenarios:: wrapping_noise:: WrappingNoiseArguments ) ,
You can’t perform that action at this time.
0 commit comments