a new @rustlang blog post appears
It explains the relationship between source files and modules - what "mod" and "use" actually do, and how to think about a project's structure
If the rust book's chapter left you confused, this might be for you!https://amos.me/blog/2019/rust-modules-vs-files/ …
-
-
I guess it's just what I'm used to. It'd also motivate you to keep modules in different files. Lots of Rust code I've seen in the wild puts way too much code in one file. But that's not Rusts fault of course.
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.
