its not clear to me that mod makes something public
-
-
especially the part where `mod` paths and `use` paths are different? 2/2
-
... done. "self" and "super" fall out of "use starts from the root." and shouldn't be used anyway imho.
-
that was actually quite a few rules and new terminology.
-
i remember being confused for like a week & then it was very intuitive to me
-
we do have a survivorship issue
-
here's the middle ground I think we should actually do: https://gist.github.com/wycats/7c3de08ac320901d29140378d98b0561 …
-
heh i prefer this to the other one actually
-
seems fine :)
- 1 more reply
New conversation -
-
-
"put extern crate in the root, mod declares a submodule, use starts from the root and brings name into scope"
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
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.