Update exercises/option/option2.rs

Co-Authored-By: fmoko <mokou@posteo.net>
This commit is contained in:
Sanjay K 2020-04-07 13:48:19 -04:00 committed by GitHub
parent 2ac3e4005f
commit ca9aaabbe4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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);
}