Skip to content

Commit

Permalink
update primitives.md with example of array and tuple
Browse files Browse the repository at this point in the history
  • Loading branch information
psyklopp committed Aug 25, 2024
1 parent afc67da commit f848229
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/primitives.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ fn main() {
// Variables can be overwritten with shadowing.
let mutable = true;
/* Compound types - Array and Tuples */
/* Compound types - Array and Tuple */
// Array signature consists of Type T and length as [T; length].
let my_array: [i32; 5] = [1, 2, 3, 4, 5];
Expand Down

0 comments on commit f848229

Please sign in to comment.