You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: modules/archive/pages/cairo-101/arrays.adoc
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
3
3
An array is a growable collection of objects of the same type, stored in contiguous memory.
4
4
5
-
An empty array of type `T` can be initialized using `ArrayTrait::<u128>::new()`. The `array!` macro can be used create arrays with values that are already known at compile time.
5
+
An empty array of type `T` can be initialized using `ArrayTrait::<T>::new()`. The `array!` macro can be used create arrays with values that are already known at compile time.
6
6
7
7
Elements in an array can be accessed using the `at()` method and `arr[index]` subscripting operator.
0 commit comments