Skip to content

Commit

Permalink
add anyhow::Context to imports.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
Kyle Carow authored and Kyle Carow committed Oct 13, 2023
1 parent 1721b81 commit d0bbf47
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
3 changes: 1 addition & 2 deletions rust/fastsim-core/src/imports.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
pub(crate) use anyhow::{anyhow, bail, ensure};
pub(crate) use anyhow::{anyhow, bail, ensure, Context};
pub(crate) use bincode::{deserialize, serialize};
pub(crate) use log;
pub(crate) use ndarray::{array, concatenate, s, Array, Array1, Axis};
Expand All @@ -10,4 +10,3 @@ pub(crate) use std::path::{Path, PathBuf};

pub(crate) use crate::traits::*;
pub(crate) use crate::utils::*;

1 change: 0 additions & 1 deletion rust/fastsim-core/src/simdrive/simdrive_iter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ use crate::imports::*;
use crate::proc_macros::add_pyo3_api;
#[cfg(feature = "pyo3")]
use crate::pyo3imports::*;
use anyhow::Context;
use rayon::prelude::*;

#[derive(Serialize, Deserialize, Debug, Clone, PartialEq)]
Expand Down

0 comments on commit d0bbf47

Please sign in to comment.