Make all public API's return Box<EvalAltResult> to reduce footprint.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
use rhai::{Engine, EvalAltResult, RegisterFn, INT};
|
||||
|
||||
#[test]
|
||||
fn test_type_of() -> Result<(), EvalAltResult> {
|
||||
fn test_type_of() -> Result<(), Box<EvalAltResult>> {
|
||||
#[derive(Clone)]
|
||||
struct TestStruct {
|
||||
x: INT,
|
||||
|
Reference in New Issue
Block a user