chore: add default for Interner
This commit is contained in:
parent
6162128427
commit
d8f3ada13e
|
@ -7,6 +7,12 @@ pub struct Interner {
|
||||||
current: Unique,
|
current: Unique,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
impl Default for Interner {
|
||||||
|
fn default() -> Self {
|
||||||
|
Self::new()
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
impl Interner {
|
impl Interner {
|
||||||
pub fn new() -> Self {
|
pub fn new() -> Self {
|
||||||
Interner {
|
Interner {
|
||||||
|
|
Loading…
Reference in New Issue