This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.
// option2.rs
// 让我通过编译!执行 `rustlings hint option2` 获取提示!
// I AM NOT DONE
fnmain(){
letoptional_word=Some(String::from("rustlings"));
// TODO:改成适用于值为 "Some" 类型的 if let 语句,
word=optional_word{
println!("The word is: {}",word);
}else{
println!("The optional word doesn't contain anything");