Closed Profpatsch closed 3 years ago
Old (pre-rust2018) rust versions used a foo/mod.rs to define the foo module. The new style is better, it uses foo.rs for the foo module. We currently use both, a few mod.rs are remaining.
foo/mod.rs
foo
foo.rs
mod.rs
foo/mod.rs <- foo foo/bar.rs <- foo.bar
turns into
foo.rs <- foo foo/bar.rs <- foo.bar
Old (pre-rust2018) rust versions used a
foo/mod.rs
to define thefoo
module. The new style is better, it usesfoo.rs
for thefoo
module. We currently use both, a fewmod.rs
are remaining.turns into