Modules & Organization
Rust's modules are similar to JS/TS files and folders, but with much more explicit control over visibility.
ABSTRACT: 🧩 Analogy for Frontend Developers
mod is like a file or folder: It defines a boundary of code.
pub is like export: It makes an it...
yafi.hashnode.dev2 min read