mirror of
https://git.aramjonghu.dev/AramJonghu/rustlings.git
synced 2026-09-03 08:43:30 +02:00
modules2 solution
This commit is contained in:
@@ -535,12 +535,13 @@ name = "modules2"
|
||||
dir = "10_modules"
|
||||
test = false
|
||||
hint = """
|
||||
The delicious_snacks module is trying to present an external interface that is
|
||||
different than its internal structure (the `fruits` and `veggies` modules and
|
||||
associated constants). Complete the `use` statements to fit the uses in main and
|
||||
find the one keyword missing for both constants.
|
||||
The `delicious_snacks` module is trying to present an external interface that
|
||||
is different than its internal structure (the `fruits` and `veggies` modules
|
||||
and associated constants). Complete the `use` statements to fit the uses in
|
||||
`main` and find the one keyword missing for both constants.
|
||||
|
||||
Learn more at https://doc.rust-lang.org/book/ch07-04-bringing-paths-into-scope-with-the-use-keyword.html#re-exporting-names-with-pub-use"""
|
||||
Learn more in The Book:
|
||||
https://doc.rust-lang.org/book/ch07-04-bringing-paths-into-scope-with-the-use-keyword.html#re-exporting-names-with-pub-use"""
|
||||
|
||||
[[exercises]]
|
||||
name = "modules3"
|
||||
|
||||
Reference in New Issue
Block a user