progress(modules + hashmaps): finished modules and almost done hashmaps

This commit is contained in:
2026-07-26 02:09:37 +02:00
parent f0f6a72101
commit 2844976587
6 changed files with 12 additions and 53 deletions
+3
View File
@@ -5,6 +5,9 @@ mod delicious_snacks {
// TODO: Add the following two `use` statements after fixing them.
// use self::fruits::PEAR as ???;
// use self::veggies::CUCUMBER as ???;
pub use self::fruits::PEAR as fruit;
pub use self::veggies::CUCUMBER as veggie;
mod fruits {
pub const PEAR: &str = "Pear";