This commit is contained in:
2024-04-07 21:15:38 -04:00
parent 64a7939eb7
commit 1d6ca6a3d6
5 changed files with 6 additions and 14 deletions

View File

@@ -7,12 +7,10 @@
// Execute `rustlings hint modules2` or use the `hint` watch subcommand for a
// hint.
// I AM NOT DONE
mod delicious_snacks {
// TODO: Fix these use statements
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: &'static str = "Pear";

View File

@@ -8,10 +8,8 @@
// Execute `rustlings hint modules3` or use the `hint` watch subcommand for a
// hint.
// I AM NOT DONE
// TODO: Complete this use statement
use ???
use std::time::{UNIX_EPOCH, SystemTime};
fn main() {
match SystemTime::now().duration_since(UNIX_EPOCH) {