Pspritechologist

Results 14 comments of Pspritechologist

I personally like the closure option, I agree it's a little messy but it serves to clarify the usage. Instead of appearing like a standard Rust borrow it looks more...

> also another note is that keeping guards around in rust basically always has side effects... I meant more that the side effects of a Mutex are contained *within* that...

I believe both [`mlua-extras`](https://github.com/Tired-Fox/mlua-extras) and [`tealr`](https://github.com/lenscas/tealr) provide methods for generating Lua documentation from Rust APIs if you'd like to look into them.

I actually made an Issue about this just last week funny enough. #631