Created
September 16, 2017 09:07
-
-
Save s9gf4ult/6c63f7976d0bb6c7365b471da559b19d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fn main() { | |
let s = String::from("жопа"); | |
let t : String = s.chars().skip(3).collect(); | |
println!("{}", s); | |
println!("{}", t); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment