Fix readme and a couple of mis-named types?

This commit is contained in:
timfish 2019-09-16 22:14:14 +01:00
parent 7d3306f6c7
commit d7d0507f5a
2 changed files with 2 additions and 3 deletions

View File

@ -10,7 +10,6 @@ Rhai's current feature set:
* Easy-to-use language based on JS+Rust * Easy-to-use language based on JS+Rust
* Support for overloaded functions * Support for overloaded functions
* No additional dependencies * No additional dependencies
* No unsafe code
**Note:** Currently, the version is 0.9.1, so the language and APIs may change before they stabilize.* **Note:** Currently, the version is 0.9.1, so the language and APIs may change before they stabilize.*

View File

@ -780,8 +780,8 @@ impl Engine {
engine.register_type_name::<u32>("u32"); engine.register_type_name::<u32>("u32");
engine.register_type_name::<i64>("integer"); engine.register_type_name::<i64>("integer");
engine.register_type_name::<u64>("u64"); engine.register_type_name::<u64>("u64");
engine.register_type_name::<u64>("usize"); engine.register_type_name::<usize>("usize");
engine.register_type_name::<f32>("f64"); engine.register_type_name::<f32>("f32");
engine.register_type_name::<f64>("float"); engine.register_type_name::<f64>("float");
engine.register_type_name::<String>("string"); engine.register_type_name::<String>("string");
engine.register_type_name::<char>("char"); engine.register_type_name::<char>("char");