Skip to content

Commit 6a5701d

Browse files
Minor fix in cairo-101/arrays
1 parent 9cc3e35 commit 6a5701d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/archive/pages/cairo-101/arrays.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
An array is a growable collection of objects of the same type, stored in contiguous memory.
44

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.
66

77
Elements in an array can be accessed using the `at()` method and `arr[index]` subscripting operator.
88

0 commit comments

Comments
 (0)