Skip to content

Commit

Permalink
fixup types
Browse files Browse the repository at this point in the history
Signed-off-by: Yaroslav Bolyukin <[email protected]>
  • Loading branch information
CertainLach committed Jun 5, 2021
1 parent c60f1e8 commit 84ef1d9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions crates/jrsonnet-types/src/lib.rs
Original file line number Diff line number Diff line change
@@ -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 {
Expand Down Expand Up @@ -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!();
}
Expand Down Expand Up @@ -128,7 +128,7 @@ pub enum ComplexValType {
Sum(Vec<ComplexValType>),
SumRef(&'static [ComplexValType]),
}
impl Finalize for ComplexValType{}
impl Finalize for ComplexValType {}
unsafe impl Trace for ComplexValType {
unsafe_empty_trace!();
}
Expand Down

0 comments on commit 84ef1d9

Please sign in to comment.