Make all public API's return Box<EvalAltResult> to reduce footprint.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
use rhai::{Engine, EvalAltResult, Scope, INT};
|
||||
|
||||
fn main() -> Result<(), EvalAltResult> {
|
||||
fn main() -> Result<(), Box<EvalAltResult>> {
|
||||
let engine = Engine::new();
|
||||
let mut scope = Scope::new();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user