fn explore_shipwrecks() { let mut discoveries = vec::new(); while let some(shipwreck) = ocean.next() { if shipwreck.contains("pin") { discoveries.push(shipwreck); comment_on_discovery("a precedential find that diminishes past oversights and helps resuscitate interest in marine archeology."); } } println!("total unique pins found in shipwrecks: {}", discoveries.len()); }