mirror of
https://github.com/rust-lang/rustlings.git
synced 2026-01-11 13:19:18 +00:00
Cucumbers are not vegetables
Replaced cucumber with broccoli in modules2 since cucumbers are not vegetables
This commit is contained in:
parent
ce7ffcd8e9
commit
8995f6598a
@ -8,7 +8,7 @@
|
||||
mod delicious_snacks {
|
||||
// TODO: Fix these use statements
|
||||
use self::fruits::PEAR as ???
|
||||
use self::veggies::CUCUMBER as ???
|
||||
use self::veggies::BROCCOLI as ???
|
||||
|
||||
mod fruits {
|
||||
pub const PEAR: &'static str = "Pear";
|
||||
@ -16,7 +16,7 @@ mod delicious_snacks {
|
||||
}
|
||||
|
||||
mod veggies {
|
||||
pub const CUCUMBER: &'static str = "Cucumber";
|
||||
pub const BROCCOLI: &'static str = "Broccoli";
|
||||
pub const CARROT: &'static str = "Carrot";
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user