From dd937e657d21d53229e46c860bc169f5913468a6 Mon Sep 17 00:00:00 2001 From: Stephen Chung Date: Thu, 27 Jan 2022 08:17:31 +0800 Subject: [PATCH] Fix builds. --- src/bin/rhai-dbg.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bin/rhai-dbg.rs b/src/bin/rhai-dbg.rs index bbc9973a..a4573a4c 100644 --- a/src/bin/rhai-dbg.rs +++ b/src/bin/rhai-dbg.rs @@ -1,4 +1,4 @@ -use rhai::{Dynamic, Engine, EvalAltResult, Identifier, Position, Scope}; +use rhai::{Dynamic, Engine, EvalAltResult, Position, Scope}; #[cfg(feature = "debugging")] use rhai::debugger::DebuggerCommand; @@ -228,7 +228,7 @@ fn main() { // Hook up debugger let lines: Vec<_> = script.trim().split('\n').map(|s| s.to_string()).collect(); - let current_source = RefCell::new(Identifier::new_const()); + let current_source = RefCell::new(rhai::Identifier::new_const()); engine.on_debugger(move |context, node, source, pos| { // Check source