Small error in /concepts/rust-arrays

Hi,

In the /concepts/rust-arrays page, there is a small error for

// Valid because both values are integers
let array_of_ints: [i32, 2] = [1, 2]

Should be

// Valid because both values are integers
let array_of_ints: [i32; 2] = [1, 2]

Best regards

Hey @big-bert, thanks for highlighting the typo! :folded_hands: It’s been fixed now:

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.