From 7924a910e1722663303986256cdb87b387a3cd66 Mon Sep 17 00:00:00 2001 From: kyren Date: Mon, 19 Jun 2017 02:08:50 -0500 Subject: [PATCH] typo fixes --- src/lua.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lua.rs b/src/lua.rs index 89607e2..6b3dff6 100644 --- a/src/lua.rs +++ b/src/lua.rs @@ -312,7 +312,7 @@ impl<'lua> LuaTable<'lua> { } /// Consume this table and return an iterator over the pairs of the table, - /// like the Lua 'pairs' function. + /// works like the Lua 'pairs' function. pub fn pairs, V: FromLua<'lua>>(self) -> LuaTablePairs<'lua, K, V> { let next_key = Some(LuaRef { lua: self.0.lua, @@ -340,7 +340,7 @@ impl<'lua> LuaTable<'lua> { /// An iterator over the pairs of a Lua table. /// -/// Should behave exactly like the lua 'pairs" function. Holds an internal +/// Should behave exactly like the lua 'pairs' function. Holds an internal /// reference to the table. pub struct LuaTablePairs<'lua, K, V> { table: LuaRef<'lua>,