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:
Neal H. Walfield 2023-10-23 09:07:36 +02:00
parent 0a09fa6d75
commit 2e04ac39a3
No known key found for this signature in database
GPG Key ID: 6863C9AD5B4D22D3
2 changed files with 0 additions and 0 deletions