Guest User

Untitled

a guest
Jun 18th, 2018
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. fn parse_coordinates(coordinates: &'static str) {
  2. let _coords: Vec<i32> = coordinates.split(";").collect();
  3.  
  4. println!("{:?}", _coords);
  5.  
  6. // return _coords;
  7. }
  8.  
  9. fn main() {
  10. println!("{}", parse_coordinates("-673;4;80"))
  11. }
Add Comment
Please, Sign In to add comment