Skip to content

Commit

Permalink
finish modules2
Browse files Browse the repository at this point in the history
  • Loading branch information
cyz-ing committed Feb 2, 2025
1 parent 9ffd579 commit 169c42a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions exercises/modules/modules2.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@

mod delicious_snacks {
// TODO: Fix these use statements
use self::fruits::PEAR as ???
use self::veggies::CUCUMBER as ???
pub use crate::delicious_snacks::fruits::PEAR as fruit;
pub use crate::delicious_snacks::veggies::CUCUMBER as veggie;

mod fruits {
pub const PEAR: &'static str = "Pear";
Expand Down

0 comments on commit 169c42a

Please sign in to comment.