mirror of
https://github.com/rust-lang/rustlings
synced 2024-11-16 12:12:54 +00:00
fix(modules): adjust hint comments
This commit is contained in:
parent
c1ed6b10fe
commit
fe54d0f85b
@ -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 New Issue
Block a user