Skip to content

Commit f848229

Browse files
committedAug 25, 2024
update primitives.md with example of array and tuple
1 parent afc67da commit f848229

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/primitives.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ fn main() {
5050
// Variables can be overwritten with shadowing.
5151
let mutable = true;
5252
53-
/* Compound types - Array and Tuples */
53+
/* Compound types - Array and Tuple */
5454
5555
// Array signature consists of Type T and length as [T; length].
5656
let my_array: [i32; 5] = [1, 2, 3, 4, 5];

0 commit comments

Comments
 (0)