Hacker News new | ask | show | jobs
by kibwen 260 days ago
Just the module the struct is defined in, not the file. Easy mistake to make, given that a file is implicitly its own module, but you can create submodules within a file with the `mod` keyword.
1 comments

I thought it crossed into submodules as well, making it the entire file?