Merge pull request #1490 from deedy5/main

modules2.rs: add more information to hint
This commit is contained in:
liv 2023-05-17 15:55:13 +02:00 committed by GitHub
commit 05fcc246ae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -478,7 +478,8 @@ hint = """
The delicious_snacks module is trying to present an external interface that is The delicious_snacks module is trying to present an external interface that is
different than its internal structure (the `fruits` and `veggies` modules and different than its internal structure (the `fruits` and `veggies` modules and
associated constants). Complete the `use` statements to fit the uses in main and associated constants). Complete the `use` statements to fit the uses in main and
find the one keyword missing for both constants.""" 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"""
[[exercises]] [[exercises]]
name = "modules3" name = "modules3"