Skip to content

Commit

Permalink
fix old docs
Browse files Browse the repository at this point in the history
  • Loading branch information
AaronKutch committed Dec 5, 2023
1 parent 70f11d6 commit bbd98b1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
4 changes: 2 additions & 2 deletions starlight/src/awi_structs/epoch.rs
Original file line number Diff line number Diff line change
Expand Up @@ -388,8 +388,9 @@ impl Epoch {
self.shared.assertions()
}

// TODO fix the EvalError enum situation

/// If any assertion bit evaluates to false, this returns an error.
// TODO fix the enum situation
pub fn assert_assertions(&self) -> Result<(), EvalError> {
let bits = self.shared.assertions().bits;
for eval_awi in bits {
Expand All @@ -414,7 +415,6 @@ impl Epoch {
/// If any assertion bit evaluates to false, this returns an error. If there
/// were no known false assertions but some are `Value::Unknown`, this
/// returns a specific error for it.
// TODO fix the enum situation
pub fn assert_assertions_strict(&self) -> Result<(), EvalError> {
let bits = self.shared.assertions().bits;
let mut unknown = None;
Expand Down
7 changes: 0 additions & 7 deletions starlight/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -166,13 +166,6 @@ pub use awint::awint_dag::triple_arena_render;
pub use awint::{self, awint_dag, awint_dag::triple_arena};
pub use misc::{SmallMap, StarRng};

// TODO need something like an `AutoAwi` type that seamlessly interfaces with
// internally or externally running DAGs / regular Awi functions / operational
// mimick functions? Make evaluation lazy so things are not simulated until
// `AutoAwi`s are read, track write status and possible update DAGs
//
// Can RefCells and mutation be used in `AsRef`?

/// Reexports all the regular arbitrary width integer structs, macros, common
/// enums, and most of `core::primitive::*`. This is useful for glob importing
/// everything or for when using the regular items in a context with structs
Expand Down

0 comments on commit bbd98b1

Please sign in to comment.