Skip to content
This repository was archived by the owner on Dec 12, 2024. It is now read-only.

Commit fe4a22b

Browse files
committed
chore: corrected leftovers of lowercase types in map constructors
A follow-up PR to #238
1 parent 3d29c0d commit fe4a22b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pages/cookbook/data-structures.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ All of the data structures listed here are made using the built-in [`map<K, V>{:
1212

1313
An [array](https://en.wikipedia.org/wiki/Array_(data_structure)) is a data structure consisting of a continuous block of memory, which represents a collection of elements of same memory size, each identified by at least one array key or _index_.
1414

15-
Following example emulates an array using a [`map<Int, v>{:tact}`][map] wrapped in a [Struct](/book/structs-and-messages#structs), where `v` can be any of the [allowed value types](/book/maps#allowed-types) of the map:
15+
Following example emulates an array using a [`map<Int, V>{:tact}`][map] wrapped in a [Struct](/book/structs-and-messages#structs), where `V{:tact}` can be any of the [allowed value types](/book/maps#allowed-types) of the map:
1616

1717
```tact
1818
import "@stdlib/deploy"; // for Deployable trait
@@ -165,7 +165,7 @@ A [stack](https://en.wikipedia.org/wiki/Stack_(abstract_data_type)) is a data st
165165
* push, which adds an element to the end of the collection
166166
* pop, which removes the most recently added element
167167

168-
Following example emulates a stack using a [`map<Int, v>{:tact}`][map] wrapped in a [Struct](/book/structs-and-messages#structs), where `v` can be any of the [allowed value types](/book/maps#allowed-types) of the map:
168+
Following example emulates a stack using a [`map<Int, V>{:tact}`][map] wrapped in a [Struct](/book/structs-and-messages#structs), where `V{:tact}` can be any of the [allowed value types](/book/maps#allowed-types) of the map:
169169

170170
```tact
171171
import "@stdlib/deploy"; // for Deployable trait
@@ -266,7 +266,7 @@ contract MapAsStack with Deployable {
266266

267267
A [circular buffer](https://en.wikipedia.org/wiki/Circular_buffer) (circular queue, cyclic buffer or ring buffer) is a data structure, which uses a single, fixed-size [buffer](https://en.wikipedia.org/wiki/Data_buffer) as it were connected end-to-end.
268268

269-
Following example emulates a circular buffer using a [`map<Int, v>{:tact}`][map] wrapped in a [Struct](/book/structs-and-messages#structs), where `v` can be any of the [allowed value types](/book/maps#allowed-types) of the map:
269+
Following example emulates a circular buffer using a [`map<Int, V>{:tact}`][map] wrapped in a [Struct](/book/structs-and-messages#structs), where `V{:tact}` can be any of the [allowed value types](/book/maps#allowed-types) of the map:
270270

271271
```tact
272272
import "@stdlib/deploy"; // for Deployable trait

0 commit comments

Comments
 (0)