Skip to content

Instantly share code, notes, and snippets.

@sat0b
Created June 14, 2017 14:53
Show Gist options
  • Select an option

  • Save sat0b/5516bb9d675963a96a2c6c9f38793f98 to your computer and use it in GitHub Desktop.

Select an option

Save sat0b/5516bb9d675963a96a2c6c9f38793f98 to your computer and use it in GitHub Desktop.
fn main() {
let mut xs = vec![];
for i in 1..100 {
xs.push(i);
}
println!("Vector: {:?}", xs);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment