modules2: obey name convention for reexported consts

Clippy doesn't warn against this, but a reexport should probably obey
the same naming convention as the item it is a reexport of.
This commit is contained in:
Remo Senekowitsch
2026-09-28 15:29:30 +02:00
parent a650509c78
commit 3dfced8c67
2 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -20,7 +20,7 @@ mod delicious_snacks {
fn main() {
println!(
"favorite snacks: {} and {}",
delicious_snacks::fruit,
delicious_snacks::veggie,
delicious_snacks::FRUIT,
delicious_snacks::VEGGIE,
);
}