Update exercises/option/option2.rs

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

View file

@ -5,7 +5,7 @@
fn main() {
let optional_value = Some(String::from("rustlings"));
//make this an if let statement - value is "Some" type
// Make this an if let statement whose value is "Some" type
value = optional_value {
println!("the value of optional value is: {}", value);
} else {