Run ❯
Get your
own
website
❯
Run Code
Ctrl+Alt+R
Change Orientation
Ctrl+Alt+O
Change Theme
Ctrl+Alt+D
Change Language
Go to Spaces
Ctrl+Alt+P
fn main() { let fruits = vec!["apple", "banana", "cherry"]; if let Some(fruit) = fruits.get(5) { println!("The sixth fruit is {}", fruit); } else { println!("There is no sixth fruit"); } }
There is no sixth fruit