daily pastebin goal
68%
SHARE
TWEET

Untitled

a guest Jan 17th, 2019 65 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. fn main() {
  2.     let s = "hello world";
  3.     let mut char_vec: Vec<char> = s.chars().collect();
  4.     char_vec.sort();
  5.     for c in char_vec {
  6.         println!("{}", c);
  7.     }
  8. }
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