mirror of
https://github.com/notohh/rustlings.git
synced 2024-11-29 08:44:16 -05:00
fix(modules): adjust hint comments
This commit is contained in:
parent
c1ed6b10fe
commit
fe54d0f85b
3 changed files with 3 additions and 4 deletions
|
@ -1,5 +1,5 @@
|
||||||
// modules1.rs
|
// modules1.rs
|
||||||
// Make me compile! Execute `rustlings hint modules1` for hints :)
|
// Execute `rustlings hint modules1` or use the `hint` watch subcommand for a hint.
|
||||||
|
|
||||||
// I AM NOT DONE
|
// I AM NOT DONE
|
||||||
|
|
||||||
|
|
|
@ -1,12 +1,11 @@
|
||||||
// modules2.rs
|
// modules2.rs
|
||||||
// You can bring module paths into scopes and provide new names for them with the
|
// You can bring module paths into scopes and provide new names for them with the
|
||||||
// 'use' and 'as' keywords. Fix these 'use' statements to make the code compile.
|
// 'use' and 'as' keywords. Fix these 'use' statements to make the code compile.
|
||||||
// Make me compile! Execute `rustlings hint modules2` for hints :)
|
// Execute `rustlings hint modules2` or use the `hint` watch subcommand for a hint.
|
||||||
|
|
||||||
// I AM NOT DONE
|
// I AM NOT DONE
|
||||||
|
|
||||||
mod delicious_snacks {
|
mod delicious_snacks {
|
||||||
|
|
||||||
// TODO: Fix these use statements
|
// TODO: Fix these use statements
|
||||||
use self::fruits::PEAR as ???
|
use self::fruits::PEAR as ???
|
||||||
use self::veggies::CUCUMBER as ???
|
use self::veggies::CUCUMBER as ???
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
// and especially from the Rust standard library into your scope.
|
// and especially from the Rust standard library into your scope.
|
||||||
// Bring SystemTime and UNIX_EPOCH
|
// Bring SystemTime and UNIX_EPOCH
|
||||||
// from the std::time module. Bonus style points if you can do it with one line!
|
// from the std::time module. Bonus style points if you can do it with one line!
|
||||||
// Make me compile! Execute `rustlings hint modules3` for hints :)
|
// Execute `rustlings hint modules3` or use the `hint` watch subcommand for a hint.
|
||||||
|
|
||||||
// I AM NOT DONE
|
// I AM NOT DONE
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue