Skip to content

Commit

Permalink
creating a vector example
Browse files Browse the repository at this point in the history
Signed-off-by: Fredrik Klingenberg <fredrkl@gmail.com>
  • Loading branch information
fredrkl committed Nov 19, 2023
1 parent 4a38b47 commit 2caeecc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions projects/collections/src/main.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
fn main() {
println!("Hello, world!");

let _v: Vec<i32> = Vec::new();
let _w = vec![1, 2, 3];
}

0 comments on commit 2caeecc

Please sign in to comment.