rlua 0.19.8

High level bindings to Lua 5.x
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
extern crate rlua;

use rlua::Lua;

fn main() {
    Lua::new().context(|lua1| {
        let t = lua1.create_table().unwrap();
        //~^ error: cannot infer an appropriate lifetime for lifetime parameter `'lua` due to
        // conflicting requirements
        Lua::new().context(|lua2| {
            lua2.globals().set("t", t).unwrap();
        });
    });
}