From cd4335a16ff56ff7dcfea56100bd21320c3de809 Mon Sep 17 00:00:00 2001 From: Stephen Chung Date: Fri, 28 Jan 2022 22:11:22 +0800 Subject: [PATCH] Fix builds. --- src/module/resolvers/file.rs | 4 ++-- src/module/resolvers/mod.rs | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/module/resolvers/file.rs b/src/module/resolvers/file.rs index a79f12ab..1f06fb94 100644 --- a/src/module/resolvers/file.rs +++ b/src/module/resolvers/file.rs @@ -1,10 +1,10 @@ #![cfg(not(feature = "no_std"))] #![cfg(not(target_family = "wasm"))] +use crate::eval::GlobalRuntimeState; use crate::func::native::locked_write; use crate::{ - Engine, GlobalRuntimeState, Identifier, Module, ModuleResolver, Position, RhaiResultOf, Scope, - Shared, ERR, + Engine, Identifier, Module, ModuleResolver, Position, RhaiResultOf, Scope, Shared, ERR, }; use std::{ diff --git a/src/module/resolvers/mod.rs b/src/module/resolvers/mod.rs index ef1c0d54..6f2899cb 100644 --- a/src/module/resolvers/mod.rs +++ b/src/module/resolvers/mod.rs @@ -1,5 +1,6 @@ +use crate::eval::GlobalRuntimeState; use crate::func::native::SendSync; -use crate::{Engine, GlobalRuntimeState, Module, Position, RhaiResultOf, Shared, AST}; +use crate::{Engine, Module, Position, RhaiResultOf, Shared, AST}; #[cfg(feature = "no_std")] use std::prelude::v1::*;