update reference to raw_length method

This commit is contained in:
kyren 2017-06-18 17:11:55 -05:00
parent 5b148536d6
commit f1dee39416
1 changed files with 2 additions and 2 deletions

View File

@ -283,8 +283,8 @@ impl<'lua> LuaTable<'lua> {
/// Returns the result of the Lua `#` operator.
///
/// This might invoke the `__len` metamethod. Use the `raw_length` method if that is not
/// desired.
/// This might invoke the `__len` metamethod. Use the `raw_len` method if
/// that is not desired.
pub fn len(&self) -> LuaResult<LuaInteger> {
let lua = self.0.lua;
unsafe {