tiny typo
This commit is contained in:
parent
54464b0842
commit
335ecbbac6
|
@ -1306,7 +1306,7 @@ impl Lua {
|
||||||
.call(())
|
.call(())
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Pass a `&str` slice to Lua, creating and returning a interned Lua string.
|
/// Pass a `&str` slice to Lua, creating and returning an interned Lua string.
|
||||||
pub fn create_string(&self, s: &str) -> String {
|
pub fn create_string(&self, s: &str) -> String {
|
||||||
unsafe {
|
unsafe {
|
||||||
stack_guard(self.state, 0, || {
|
stack_guard(self.state, 0, || {
|
||||||
|
|
Loading…
Reference in New Issue