chore: add default for Interner

This commit is contained in:
rvcas 2022-10-31 13:50:19 -04:00 committed by Lucas
parent 6162128427
commit d8f3ada13e
1 changed files with 6 additions and 0 deletions

View File

@ -7,6 +7,12 @@ pub struct Interner {
current: Unique,
}
impl Default for Interner {
fn default() -> Self {
Self::new()
}
}
impl Interner {
pub fn new() -> Self {
Interner {