That triggered such an instant, explosive laugh I now have coffee sprayed all over the place. Thank you, that made my day.
Trust me, there is no programming language more convoluted than C++. You would be well advised never to look at it.
More seriously, the last thing you need to worry about is formatting in Rust. Just use cargo fmt and it's done. Use the standard settings out of the box so that your code is formatted consistently with all the other Rust code in the world. That will make life easier on any future readers of your code.
Except: I did not know about the
merge_imports option that dthul suggested. That sounds like an excellent idea.
There are no
headers in Rust, as in C/C++ header files. Everything is in Rust source files *.rs. What is included in your project is specified in it's Cargo.toml file.
As far as I can tell those
use clauses are only creating short hand names for things that are already available to the project.