mirror of
https://github.com/mlua-rs/mlua
synced 2026-06-08 16:05:43 +00:00
97ca3e2c08
If passed type is non-userdata we try to get a pointer (which will be null) that triggers an assertion. Having a check also allow us to generate right error message. Fixes #569