diff options
author | Jonas Schievink <jonasschievink@gmail.com> | 2017-07-20 11:33:15 +0200 |
---|---|---|
committer | Jonas Schievink <jonasschievink@gmail.com> | 2017-07-23 18:36:50 +0200 |
commit | 8bd0c2c812035f2bb95627d26a98ee9c2fbeb19d (patch) | |
tree | 5c5c21498de1cd8cfd919077191e4844bae4a480 /examples | |
parent | 9df7727eaaf83799cc538a451a6a5a6288ff27cd (diff) | |
download | mlua-8bd0c2c812035f2bb95627d26a98ee9c2fbeb19d.zip |
Rename `LuaString` to `String`
This required a lot of little adjustments where we used std's `String`
before. In downstream code, this shouldn't be necessary, as you can just
do `use rlua::String as LuaString` to disambiguate.
Diffstat (limited to 'examples')
-rw-r--r-- | examples/examples.rs | 2 | ||||
-rw-r--r-- | examples/repl.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/examples.rs b/examples/examples.rs index 5ee0758..15e034d 100644 --- a/examples/examples.rs +++ b/examples/examples.rs @@ -4,7 +4,7 @@ extern crate rlua; use std::f32; -use rlua::*; +use rlua::{Lua, Result, Function, Variadic, UserData, UserDataMethods, MetaMethod}; fn examples() -> Result<()> { // Create a Lua context with Lua::new(). Eventually, this will allow diff --git a/examples/repl.rs b/examples/repl.rs index 0d6bf9c..27ef0f9 100644 --- a/examples/repl.rs +++ b/examples/repl.rs @@ -2,7 +2,7 @@ extern crate rlua; -use rlua::*; +use rlua::{Lua, MultiValue, Error}; use std::io::prelude::*; use std::io::{stdin, stdout, stderr, BufReader}; |