nix-community / lorri

Your project’s nix-env [maintainer=@Profpatsch,@nyarly]
Apache License 2.0
663 stars 24 forks source link

refactor: move all foo/mod.rs files into foo.rs #16

Closed Profpatsch closed 3 years ago

Profpatsch commented 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/bar.rs  <- foo.bar

turns into

foo.rs <- foo
foo/bar.rs <- foo.bar