Use INT in examples instead of i64.

This commit is contained in:
Stephen Chung
2020-03-24 09:49:08 +08:00
parent 1b4bcbcfdf
commit 060a61fc9d
6 changed files with 14 additions and 14 deletions

View File

@@ -1,8 +1,8 @@
use rhai::{Engine, RegisterFn};
use rhai::{Engine, RegisterFn, INT};
#[derive(Clone, Debug)]
struct TestStruct {
x: i64,
x: INT,
}
impl TestStruct {