Skip to content

Commit 66e8969

Browse files
authored
add missing )
1 parent 8960eed commit 66e8969

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/documentation/data-structures.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ A Struct is a special kind of Map. It only supports a predefined number of keys
130130
(let [x (my-struct 1 2 3)] # Create a new struct
131131
(my-struct? x) # Evaluates to true
132132
(get x :a) # Evaluates to 1
133-
(put x :a 12) # Evaluates to (my-struct 12 2 3)
133+
(put x :a 12)) # Evaluates to (my-struct 12 2 3)
134134
```
135135

136136
Internally, Phel Structs are PHP classes where each key correspondence to an object property. Therefore, Structs can be faster than Maps.

0 commit comments

Comments
 (0)