I'm a newbie in Rust.
I have this file structure now:
└── src
├── another.rs
└── some_file.rs
In the some_file file, I have this code:
mod another;
// and code
However, the compiler throws an error and offers this help:
= help: to create the module `another`, create file "src/some_file/another.rs" or "src/some_file/another/mod.rs"
But I don't want to do so. I want both files to be in the same directory. Are there any ways I can avoid creating a new directory?