but how do you control mod privacy without mod
-
-
Replying to @withoutboats @ag_dubs and
with explicit exports (basically pub mod).
2 replies 0 retweets 0 likes -
i guess we could use `pub use self::submodule` instead?
2 replies 0 retweets 2 likes -
Replying to @withoutboats @wycats and
its not clear to me that mod makes something public
1 reply 0 retweets 0 likes -
it doesn't (pub mod does!)
2 replies 0 retweets 3 likes -
Replying to @withoutboats @ag_dubs and
you build your tree with mod & then you import from it with use
4 replies 0 retweets 2 likes -
Replying to @withoutboats @wycats and
ah yeah, building a tree is the step that loses me
1 reply 0 retweets 1 like -
Replying to @ag_dubs @withoutboats and
this is what I mean: https://gist.github.com/wycats/7c3de08ac320901d29140378d98b0561 …
4 replies 0 retweets 1 like -
Replying to @wycats @withoutboats and
ah yeah, ok i get this. tho this line is a lil odd https://gist.github.com/wycats/7c3de08ac320901d29140378d98b0561#file-3-my-mod-rs-L5 …
1 reply 0 retweets 0 likes -
Replying to @ag_dubs @withoutboats and
the way Node does it, where everything is public, doesn't work for Rust. 1/
2 replies 0 retweets 1 like
I think it's nice to be able to hide things from the module system :P 2/2
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.