Skip to content

Commit

Permalink
Merge 5fac5c7 into c52dc1c
Browse files Browse the repository at this point in the history
  • Loading branch information
TomAFrench authored Aug 27, 2024
2 parents c52dc1c + 5fac5c7 commit 95d9d19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/docs/noir/concepts/data_types/slices.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ fn main() -> pub u32 {
}
```

To write a slice literal, use a preceeding ampersand as in: `&[0; 2]` or
To write a slice literal, use a preceding ampersand as in: `&[0; 2]` or
`&[1, 2, 3]`.

It is important to note that slices are not references to arrays. In Noir,
Expand Down

0 comments on commit 95d9d19

Please sign in to comment.