From 84ef1d92a6977d868ebf6eddee6dff80d6a2feed Mon Sep 17 00:00:00 2001 From: Yaroslav Bolyukin Date: Sat, 5 Jun 2021 21:56:19 +0300 Subject: [PATCH] fixup types Signed-off-by: Yaroslav Bolyukin --- crates/jrsonnet-types/src/lib.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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!(); }