Rename foo/mod.rs to foo.rs.
- A module `foo` used to have to be called `foo/mod.rs` if `foo` had submodules. - Since Rust 2018, it is possible to have `foo.rs` and the submodules under `foo`. - Using `foo.rs` is nicer than `foo/mod.rs` in many editors. Rename modules called `mod.rs`. - Note: we can't rename `src/cli/mod.rs` as it is `include!`ed from `build.rs`, and then it doesn't find the submodules.
This commit is contained in:
parent
0a09fa6d75
commit
2e04ac39a3
Loading…
Reference in New Issue
Block a user