We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
x.get(x.len()-1)
x.last()
The following can be replaced with x.last():
let x = vec![1,2,3]; let _ = x.get(x.len() - 1);