diff --git a/crates/jrsonnet-types/src/lib.rs b/crates/jrsonnet-types/src/lib.rs index 3ef305b2..40349739 100644 --- a/crates/jrsonnet-types/src/lib.rs +++ b/crates/jrsonnet-types/src/lib.rs @@ -1,7 +1,7 @@ #![allow(clippy::redundant_closure_call)] +use gc::{unsafe_empty_trace, Finalize, Trace}; use std::fmt::Display; -use gc::{Trace, Finalize, unsafe_empty_trace}; #[macro_export] macro_rules! ty { @@ -88,7 +88,7 @@ pub enum ValType { Obj, Func, } -impl Finalize for ValType{} +impl Finalize for ValType {} unsafe impl Trace for ValType { unsafe_empty_trace!(); } @@ -128,7 +128,7 @@ pub enum ComplexValType { Sum(Vec), SumRef(&'static [ComplexValType]), } -impl Finalize for ComplexValType{} +impl Finalize for ComplexValType {} unsafe impl Trace for ComplexValType { unsafe_empty_trace!(); }