SHARE
TWEET

Untitled

a guest Apr 18th, 2019 59 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. fn main() {
  2.     let s = "10.77.77.9";
  3.     let a: Vec<u32> = s.split(".").map(|n| n.parse::<u32>().unwrap()).collect();
  4.     dbg!(a);
  5. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top