diff options
Diffstat (limited to 'exercises/10_modules/modules3.rs')
| -rw-r--r-- | exercises/10_modules/modules3.rs | 18 |
1 files changed, 5 insertions, 13 deletions
diff --git a/exercises/10_modules/modules3.rs b/exercises/10_modules/modules3.rs index f2bb050..691608d 100644 --- a/exercises/10_modules/modules3.rs +++ b/exercises/10_modules/modules3.rs @@ -1,17 +1,9 @@ -// modules3.rs -// -// You can use the 'use' keyword to bring module paths from modules from -// anywhere and especially from the Rust standard library into your scope. Bring -// SystemTime and UNIX_EPOCH from the std::time module. Bonus style points if -// you can do it with one line! -// -// Execute `rustlings hint modules3` or use the `hint` watch subcommand for a -// hint. +// You can use the `use` keyword to bring module paths from modules from +// anywhere and especially from the standard library into your scope. -// I AM NOT DONE - -// TODO: Complete this use statement -use ??? +// TODO: Bring `SystemTime` and `UNIX_EPOCH` from the `std::time` module into +// your scope. Bonus style points if you can do it with one line! +// use ???; fn main() { match SystemTime::now().duration_since(UNIX_EPOCH) { |
