On Wednesday, 16 May 2018 at 08:20:23 UTC, Uknown wrote:
On Wednesday, 16 May 2018 at 07:53:36 UTC, aliak wrote:Just checked the rust spec [0]. private in rust => accessible from that module and its descendants, which is what package in D is. private in D would be to that module only.[0]: https://doc.rust-lang.org/beta/reference/visibility-and-privacy.html
Dont know if its been mentioned before but in Delphi / Object Pascal private is accessible to everything in the same module. Same as D.
