That could be misleading: you can have
- In
main.rs
:mod printable; fn main() {}
- In
printable/mod.rs
:mod printable;
- And a
printable/printable.rs
file.
In the same way that the same file name can appear multiple times in the filesystem.
That could be misleading: you can have
main.rs
:mod printable;
fn main() {}
printable/mod.rs
:mod printable;
printable/printable.rs
file.In the same way that the same file name can appear multiple times in the filesystem.