Update exercises/option/option2.rs

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

View file

@ -9,7 +9,7 @@ fn main() {
value = optional_value {
println!("the value of optional value is: {}", value);
} else {
println!("optional value does not have a value!");
println!("The optional value doesn't contain anything!");
}
let mut optional_values_vec: Vec<Option<i8>> = Vec::new();