Contact: aviboots(AT)netvision.net.il
38,119 questions
49,726 answers
573 users
fn main() { // Create an empty vector of strings let vec: Vec<String> = Vec::new(); // Get the size of the vector let size = vec.len(); // Print the size println!("The size of the vector is: {}", size); } /* run: The size of the vector is: 0 */