mirror of
https://github.com/rust-lang/rustlings.git
synced 2026-01-09 20:29:18 +00:00
update hint for modules2 exercise
This commit is contained in:
parent
4db29005fd
commit
3c59832d47
12
info.toml
12
info.toml
@ -362,11 +362,10 @@ name = "modules2"
|
|||||||
path = "exercises/modules/modules2.rs"
|
path = "exercises/modules/modules2.rs"
|
||||||
mode = "compile"
|
mode = "compile"
|
||||||
hint = """
|
hint = """
|
||||||
The delicious_snacks module is trying to present an external
|
The delicious_snacks module is trying to present an external interface that is
|
||||||
interface (the `fruit` and `veggie` constants) that is different than
|
different than its internal structure (the `fruits` and `veggies` modules and
|
||||||
its internal structure (the `fruits` and `veggies` modules and
|
associated constants). Complete the `use` statemants to fit the uses in main and
|
||||||
associated constants). It's almost there except for one keyword missing for
|
find the one keyword missing for both constants."""
|
||||||
each constant."""
|
|
||||||
|
|
||||||
[[exercises]]
|
[[exercises]]
|
||||||
name = "modules3"
|
name = "modules3"
|
||||||
@ -375,8 +374,7 @@ mode = "compile"
|
|||||||
hint = """
|
hint = """
|
||||||
UNIX_EPOCH and SystemTime are declared in the std::time module. Add a use statement
|
UNIX_EPOCH and SystemTime are declared in the std::time module. Add a use statement
|
||||||
for these two to bring them into scope. You can use nested paths or the glob
|
for these two to bring them into scope. You can use nested paths or the glob
|
||||||
operator to bring these two in using only one line.
|
operator to bring these two in using only one line."""
|
||||||
"""
|
|
||||||
|
|
||||||
# COLLECTIONS
|
# COLLECTIONS
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user