Skip to content

Commit

Permalink
Fix kani build
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristopherRabotin committed May 20, 2024
1 parent a1e0846 commit 39a5d43
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/duration/kani_verif.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

// Here lives all of the formal verification for Duration.

use super::{Duration, DurationError};
use super::{Duration, DurationError, EpochError};
use crate::NANOSECONDS_PER_CENTURY;

use kani::Arbitrary;
Expand Down
6 changes: 2 additions & 4 deletions src/duration/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,8 @@
* Documentation: https://nyxspace.com/
*/

use crate::errors::DurationError;
use crate::{
EpochError, SECONDS_PER_CENTURY, SECONDS_PER_DAY, SECONDS_PER_HOUR, SECONDS_PER_MINUTE,
};
use crate::errors::{DurationError, EpochError};
use crate::{SECONDS_PER_CENTURY, SECONDS_PER_DAY, SECONDS_PER_HOUR, SECONDS_PER_MINUTE};

pub use crate::{Freq, Frequencies, TimeUnits, Unit};

Expand Down

0 comments on commit 39a5d43

Please sign in to comment.