Skip to content

Commit 985d1a7

Browse files
committed
update slice2
1 parent 3e58596 commit 985d1a7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

_slices2/src/main.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// EXERCICE 1 : Slices
2+
13
fn main() {
24
let a = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10];
35
let slice = &a[0..3];

0 commit comments

Comments
 (0)