Skip to content

Commit

Permalink
Make termdag public (#192)
Browse files Browse the repository at this point in the history
  • Loading branch information
saulshanabrook authored Aug 17, 2023
1 parent e0d75d6 commit bf16e6c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ use index::ColumnIndex;
use instant::{Duration, Instant};
pub use serialize::SerializeConfig;
use sort::*;
use termdag::{Term, TermDag};
pub use termdag::{Term, TermDag};
use thiserror::Error;

use proofs::ProofState;
Expand Down
4 changes: 2 additions & 2 deletions src/termdag.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ pub enum Term {

#[derive(Clone, PartialEq, Eq, Debug, Default)]
pub struct TermDag {
nodes: Vec<Term>,
hashcons: HashMap<Term, usize>,
pub nodes: Vec<Term>,
pub hashcons: HashMap<Term, usize>,
}

#[macro_export]
Expand Down

0 comments on commit bf16e6c

Please sign in to comment.