DEV Community


Discussion on: C++ Developer Learning Rust!

rua profile image

I do feel that such a thing ought to be handled by clippy and rustfmt, not by the compiler itself. It's not the compiler's job to enforce formatting standards IMO.

geoxion profile image
Dion Dokter

Only naming is done by the compiler.
I do get where you're coming from, though. But if it's not enabled by default, people just won't use it. That's sadly the case.

You can opt out of you want, but you'll need to do that in every project.