Anyone else confused af with the new @rustlang module system?
-
-
-
Replying to @rustlang
my largest confusion is with the not really needing to make a `http://mod.rs ` anymore in most situtations. However, in every situation I have still had to make them.
1 reply 0 retweets 0 likes -
Replying to @Innectic
Hmmm. They should be 100% optional. For example, foo/mod.rs can just be http://foo.rs instead. Any public code examples?
1 reply 0 retweets 0 likes -
Replying to @rustlang
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?
1 reply 0 retweets 0 likes
Replying to @Innectic
You’d move foo/mod.rs to a top level http://foo.rs , keeping all those other sub modules where they are
1:07 PM - 14 Dec 2018
0 replies
0 retweets
0 likes
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.