In chapter Modules / Filesystem Hierarchy there is:
mod garden;
This tells Rust that the garden module content is found at src/garden.rs. Similarly, a garden::vegetables module
can be found at src/garden/vegetables.rs.
Which might imply that
mod garden::vegetables;
can be used, which is not true, to use such layout:
src/garden/vegetables.rs
a more complex setup is required.