File tree Expand file tree Collapse file tree 1 file changed +15
-15
lines changed Expand file tree Collapse file tree 1 file changed +15
-15
lines changed Original file line number Diff line number Diff line change @@ -520,6 +520,20 @@ function `unwrap_or`.
520
520
Or use an `if let` statement on the result of `pop()` to both destructure
521
521
a `Some` value and only print out something if we have a value!"""
522
522
523
+ [[exercises ]]
524
+ name = " option1"
525
+ path = " exercises/option/option1.rs"
526
+ mode = " compile"
527
+ hint = """
528
+ Check out some functions of Option:
529
+ is_some
530
+ is_none
531
+ unwrap
532
+
533
+ and:
534
+ pattern matching
535
+ """
536
+
523
537
[[exercises ]]
524
538
name = " result1"
525
539
path = " exercises/error_handling/result1.rs"
@@ -701,18 +715,4 @@ path = "exercises/conversions/from_str.rs"
701
715
mode = " test"
702
716
hint = """
703
717
If you've already solved try_from_into.rs, then this is almost a copy-paste.
704
- Otherwise, go ahead and solve try_from_into.rs first."""
705
-
706
- [[exercises ]]
707
- name = " option1"
708
- path = " exercises/option/option1.rs"
709
- mode = " compile"
710
- hint = """
711
- Check out some functions of Option:
712
- is_some
713
- is_none
714
- unwrap
715
-
716
- and:
717
- pattern matching
718
- """
718
+ Otherwise, go ahead and solve try_from_into.rs first."""
You can’t perform that action at this time.
0 commit comments