rustecs
rustecs copied to clipboard
Remove pub mod around enums
Since enums are now namespaced, the additional pub mod around them can be removed.
This was based on a misunderstanding, see https://github.com/hannobraun/rustecs/pull/12#issuecomment-66185312.
I'm leaving this open, since is wouldn't hurt to add a comment to that test, to prevent similar misunderstandings in the future.
As always, I'll get to it next time I can allocate some development time to Rustecs. Until then, pull requests are very welcome.
Heh, it's so similar to the old way of namespacing enums that I assumed it was.
Yeah, now that you brought it up, I see how it's easy to misunderstand :) Again, sorry for your trouble, I completely misunderstood you and initially thought you were referring to something else entirely.
No worries, I'm more than happy to help out. Besides, it's hardly as if this is something I had to spend a lot of time on :).