From ca9aaabbe41b65ec8d0a3b78446fd7e46b0d467e Mon Sep 17 00:00:00 2001 From: Sanjay K <sanjaykdragon@users.noreply.github.com> Date: Tue, 7 Apr 2020 13:48:19 -0400 Subject: [PATCH] Update exercises/option/option2.rs Co-Authored-By: fmoko <mokou@posteo.net> --- exercises/option/option2.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exercises/option/option2.rs b/exercises/option/option2.rs index 72b4ab6..a55f734 100644 --- a/exercises/option/option2.rs +++ b/exercises/option/option2.rs @@ -18,7 +18,7 @@ fn main() { } // 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 + // You can stack `Option<T>`'s into while let and if let value = optional_values_vec.pop() { println!("current value: {}", value); }