summaryrefslogtreecommitdiff
path: root/exercises/10_modules
diff options
context:
space:
mode:
authormo8it <mo8it@proton.me>2024-06-22 13:35:54 +0200
committermo8it <mo8it@proton.me>2024-06-22 13:35:54 +0200
commit3d540ed946ee9fd522ba9ec26f68055f5c498317 (patch)
tree48bdcf0ef31a3ac79720c386961adb7a430fceea /exercises/10_modules
parent98cd00de6378550985d819ac8cd1227c8a10818e (diff)
modules3 solution
Diffstat (limited to 'exercises/10_modules')
-rw-r--r--exercises/10_modules/modules3.rs11
1 files changed, 5 insertions, 6 deletions
diff --git a/exercises/10_modules/modules3.rs b/exercises/10_modules/modules3.rs
index eff24a9..691608d 100644
--- a/exercises/10_modules/modules3.rs
+++ b/exercises/10_modules/modules3.rs
@@ -1,10 +1,9 @@
-// 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!
+// You can use the `use` keyword to bring module paths from modules from
+// anywhere and especially from the standard library into your scope.
-// 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) {