#interning #correct #value

nightly libintern

A simple but correct library for interning arbitrary values

7 releases (breaking)

0.7.0 Oct 4, 2021
0.6.0 Sep 1, 2021
0.5.0 Aug 31, 2021
0.4.0 Aug 9, 2021
0.1.0 Jul 11, 2021

#25 in #correct

MIT license

15KB
252 lines

Libintern

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);

No runtime deps