Rules
- If a module named
human
has no submodules, you should put the declaration for thehuman
in a file named human.rs - If a module named
human
does have a submodule, you should put the declarations forhuman
in a file namedhuman/mod.rs
Example
|
|
human
has no submodules, you should put the declaration for the human
in a file named human.rshuman
does have a submodule, you should put the declarations for human
in a file named human/mod.rs
Example
|
|