diff --git a/README.md b/README.md index e3022e1d..114746db 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,6 @@ Rhai's current feature set: * Easy-to-use language based on JS+Rust * Support for overloaded functions * No additional dependencies -* No unsafe code **Note:** Currently, the version is 0.9.1, so the language and APIs may change before they stabilize.* diff --git a/src/engine.rs b/src/engine.rs index 41c217f0..4bff3753 100644 --- a/src/engine.rs +++ b/src/engine.rs @@ -780,8 +780,8 @@ impl Engine { engine.register_type_name::("u32"); engine.register_type_name::("integer"); engine.register_type_name::("u64"); - engine.register_type_name::("usize"); - engine.register_type_name::("f64"); + engine.register_type_name::("usize"); + engine.register_type_name::("f32"); engine.register_type_name::("float"); engine.register_type_name::("string"); engine.register_type_name::("char");