Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
kibwen
10 months ago
|
parent
|
context
|
favorite
| on:
DARPA project for automated translation from C to ...
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.
3836293648
10 months ago
[–]
I thought it crossed into submodules as well, making it the entire file?
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: