summaryrefslogtreecommitdiff
path: root/exercises/options/options2.rs
diff options
context:
space:
mode:
Diffstat (limited to 'exercises/options/options2.rs')
-rw-r--r--exercises/options/options2.rs9
1 files changed, 6 insertions, 3 deletions
diff --git a/exercises/options/options2.rs b/exercises/options/options2.rs
index 337c426..4d998e7 100644
--- a/exercises/options/options2.rs
+++ b/exercises/options/options2.rs
@@ -1,5 +1,7 @@
// options2.rs
-// Execute `rustlings hint options2` or use the `hint` watch subcommand for a hint.
+//
+// Execute `rustlings hint options2` or use the `hint` watch subcommand for a
+// hint.
// I AM NOT DONE
@@ -27,8 +29,9 @@ mod tests {
let mut cursor = range;
- // TODO: make this a while let statement - remember that vector.pop also adds another layer of Option<T>
- // You can stack `Option<T>`s into while let and if let
+ // TODO: make this a while let statement - remember that vector.pop also
+ // adds another layer of Option<T>. You can stack `Option<T>`s into
+ // while let and if let.
integer = optional_integers.pop() {
assert_eq!(integer, cursor);
cursor -= 1;