Closed
Description
The rlua
crate is already a namespace for the contents, so they don't need a prefix for disambiguation. Removing the prefix would allow writing shorter and slightly clearer code in my opinion.
Downside: use rlua::*;
imports too much (including a Result
type alias shadowing Rust's own result type). This can be mitigated somewhat by introducing a prelude
module like many libs do. It's also not clear to me if renaming the LuaString
type to String
is a good idea.
(also, LightUserData
is the only type that's not prefixed)
Metadata
Metadata
Assignees
Labels
No labels