Re:Learning Rust – Day 4 – Understanding Modules
by duped on Thursday May 12, 2022 @04:51PM
(#31360001)
IMHO you should keep your src folder flat and use multiple crates in a workspace for hierarchy instead of nested modules. People forget that the compilation unit of Rust is a crate, not a source file.
[ Parent
| on HN ]
There are no comments on this comment yet.