From 1d513706938ea1be57751e075dae665af1557eac Mon Sep 17 00:00:00 2001 From: razican Date: Fri, 17 Apr 2020 21:39:37 +0200 Subject: [PATCH] Fixed tests --- gc/tests/finalize.rs | 2 +- gc/tests/gc_semantics.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gc/tests/finalize.rs b/gc/tests/finalize.rs index 7dcb404..92e99d3 100644 --- a/gc/tests/finalize.rs +++ b/gc/tests/finalize.rs @@ -4,7 +4,7 @@ extern crate gc_derive; extern crate gc; -use gc::Finalize; +use gc::{Finalize, Trace}; use std::cell::Cell; #[derive(PartialEq, Eq, Debug, Clone, Copy)] diff --git a/gc/tests/gc_semantics.rs b/gc/tests/gc_semantics.rs index 7aff31c..cd5028f 100644 --- a/gc/tests/gc_semantics.rs +++ b/gc/tests/gc_semantics.rs @@ -4,9 +4,9 @@ extern crate gc_derive; extern crate gc; -use gc::{force_collect, Finalize, Gc, GcCell, Trace}; use std::cell::Cell; use std::thread::LocalKey; +use gc::{Trace, Finalize, GcCell, Gc, force_collect}; // Utility methods for the tests #[derive(PartialEq, Eq, Debug, Clone, Copy)]