From f81464142a931f7d3ded6d38f5fc0d5212c625c3 Mon Sep 17 00:00:00 2001 From: losfair Date: Wed, 26 Jun 2019 12:56:37 +0800 Subject: [PATCH] Fix unused import error on Windows. --- lib/runtime-core/src/state.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/runtime-core/src/state.rs b/lib/runtime-core/src/state.rs index 90735a594..210697444 100644 --- a/lib/runtime-core/src/state.rs +++ b/lib/runtime-core/src/state.rs @@ -1,5 +1,5 @@ use std::collections::BTreeMap; -use std::ops::Bound::{Excluded, Included, Unbounded}; +use std::ops::Bound::{Included, Unbounded}; #[derive(Copy, Clone, Debug, Eq, PartialEq, Hash)] pub struct RegisterIndex(pub usize); @@ -328,6 +328,7 @@ pub mod x64 { use crate::structures::TypedIndex; use crate::types::LocalGlobalIndex; use crate::vm::Ctx; + use std::ops::Bound::Excluded; pub fn new_machine_state() -> MachineState { MachineState {