Use run and i64 instead of eval and INT for examples.
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
use rhai::{Engine, EvalAltResult, INT};
|
||||
use rhai::{Engine, EvalAltResult};
|
||||
|
||||
#[derive(Debug, Clone)]
|
||||
struct TestStruct {
|
||||
x: INT,
|
||||
x: i64,
|
||||
}
|
||||
|
||||
impl TestStruct {
|
||||
|
Reference in New Issue
Block a user