that example hardly shows ALL the features

This commit is contained in:
kyren 2017-06-15 16:30:16 -04:00
parent 44370dd64e
commit b02dda3431
1 changed files with 2 additions and 2 deletions

View File

@ -130,8 +130,8 @@ fn examples() -> LuaResult<()> {
assert_eq!(lua.eval::<String>(r#"join("a", "b", "c")"#)?, "abc"); assert_eq!(lua.eval::<String>(r#"join("a", "b", "c")"#)?, "abc");
// You can create userdata with methods and metamethods defined on them. // You can create userdata with methods and metamethods defined on them.
// Here's a more complete example that shows all of the features of this API // Here's a more complete example that shows many of the features of this
// together // API together
#[derive(Copy, Clone)] #[derive(Copy, Clone)]
struct Vec2(f32, f32); struct Vec2(f32, f32);