Compare commits
4 Commits
f259022666
...
e39b2cd674
Author | SHA1 | Date | |
---|---|---|---|
e39b2cd674 | |||
7625ea0959 | |||
784dde3386 | |||
fa4ae23381 |
@ -269,8 +269,7 @@ impl mlua::UserData for Instance{
|
||||
};
|
||||
iter.find_map(|class|{
|
||||
let mut class_methods=cf.get_or_create_class_methods(&class.name)?;
|
||||
class_methods.get_or_create_function(lua,index_str)
|
||||
.transpose()
|
||||
class_methods.get_or_create_function(lua,index_str).transpose()
|
||||
}).transpose()
|
||||
})?{
|
||||
return function.into_lua(lua);
|
||||
|
Loading…
Reference in New Issue
Block a user