Hide RocDec implemntation details.

This commit is contained in:
Derek Gustafson 2022-03-07 15:34:02 -05:00
parent 92ace8ff67
commit ba6b225761
No known key found for this signature in database
GPG key ID: 8B8B15EF3CC8410B
8 changed files with 26 additions and 16 deletions

View file

@ -50,7 +50,7 @@ pub trait ReplAppMemory {
fn deref_dec(&self, addr: usize) -> RocDec {
let bits = self.deref_i128(addr);
RocDec(bits)
RocDec::new(bits)
}
fn deref_str(&self, addr: usize) -> &str;