Skip to content

Commit

Permalink
Refactor conditional use declarations in the event rules tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ndebuhr committed Mar 10, 2022
1 parent 2658be8 commit d138446
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions sim/tests/event_rules.rs
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
#[cfg(feature = "simx")]
use std::fs;

#[cfg(feature = "simx")]
use sim::input_modeling::ContinuousRandomVariable;
#[cfg(feature = "simx")]
use sim::models::{
Batcher, Coupled, DevsModel, ExternalOutputCoupling, Generator, InternalCoupling, Model,
Processor,
use {
sim::input_modeling::ContinuousRandomVariable,
sim::models::{
Batcher, Coupled, DevsModel, ExternalOutputCoupling, Generator, InternalCoupling, Model,
Processor,
},
std::fs,
};

#[cfg(feature = "simx")]
Expand Down

0 comments on commit d138446

Please sign in to comment.