Anyone else confused af with the new @rustlang module system?
Hmmm. They should be 100% optional. For example, foo/mod.rs can just be http://foo.rs instead. Any public code examples?
-
-
Ah, maybe I misunderstood? I have a module that looks something like: foo/mod.rs foo/something.rs foo/another.rs Am I not able to omit the http://mod.rs in these scenarios?
-
You’d move foo/mod.rs to a top level http://foo.rs , keeping all those other sub modules where they are
End of conversation
New conversation -
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.