diff --git a/examples/repl.rs b/examples/repl.rs index 76bdcd48..1187d1c9 100644 --- a/examples/repl.rs +++ b/examples/repl.rs @@ -1,6 +1,7 @@ +use rhai::{Engine, EvalAltResult, Scope, AST}; + #[cfg(not(feature = "no_optimize"))] use rhai::OptimizationLevel; -use rhai::{Engine, EvalAltResult, Scope, AST}; use std::{ io::{stdin, stdout, Write}, diff --git a/examples/rhai_runner.rs b/examples/rhai_runner.rs index 59fe6770..4da91feb 100644 --- a/examples/rhai_runner.rs +++ b/examples/rhai_runner.rs @@ -1,6 +1,8 @@ +use rhai::{Engine, EvalAltResult}; + #[cfg(not(feature = "no_optimize"))] use rhai::OptimizationLevel; -use rhai::{Engine, EvalAltResult}; + use std::{env, fs::File, io::Read, iter, process::exit}; fn padding(pad: &str, len: usize) -> String {