From 683fa597c3a73ab507352bc02ff56bdebb248352 Mon Sep 17 00:00:00 2001 From: Saul Shanabrook Date: Wed, 23 Aug 2023 14:59:19 -0400 Subject: [PATCH] Expose usize on term ID --- src/termdag.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/termdag.rs b/src/termdag.rs index c500c754..87b73c29 100644 --- a/src/termdag.rs +++ b/src/termdag.rs @@ -5,7 +5,7 @@ use crate::{ }; #[derive(Clone, Copy, PartialEq, Eq, Hash, Debug)] -pub struct TermId(usize); +pub struct TermId(pub usize); /// Like [`Expr`]s but with sharing and deduplication. ///