Crates.io | libintern |
lib.rs | libintern |
version | 0.7.0 |
source | src |
created_at | 2021-07-11 15:16:38.235541 |
updated_at | 2021-10-04 15:23:51.977489 |
description | A simple but correct library for interning arbitrary values. |
homepage | |
repository | |
max_upload_size | |
id | 421457 |
size | 14,334 |
A simple but correct interning library.
let mut interner = Interner::new();
let a = interner.intern('a');
let other_a = interner.intern('a');
assert_eq!(a, other_a);