Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR RUST

find last element of vec rust

let vec = vec![];
let last_element = vec.last().unwrap();
 
PREVIOUS NEXT
Tagged: #find #element #vec #rust
ADD COMMENT
Topic
Name
2+7 =