Skip to content

Commit 6b87580

Browse files
authored
Merge pull request #148 from alhirzel/typo-sc-empty
fix reference to sc"..." -> empty"..."
2 parents 9368a88 + b2a41e5 commit 6b87580

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/AcuteML.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ textnode_vector::Vector{String}, txt"[2:3]"
180180
Note that the vector Text nodes should only be used as the last field of a struct (because possible positons for text node should be known). Alternatively, you can make non-vector separate fields with correct position in the struct definition.
181181
182182
### Empty Elements (Self-Closing) Definition
183-
* Use `sc"name"` to define a self-closing (empty) element (e.g. `<rest />`)
183+
* Use `empty"name"` to define an empty (self-closing) element (e.g. `<rest />`)
184184
```julia
185185
@aml struct rest empty"~"
186186
end

0 commit comments

Comments
 (0)