Skip to content

Commit 2c90844

Browse files
committed
Add syntax highlight tag to example code block
1 parent a089050 commit 2c90844

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/structarray.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ julia> StructArray{Complex{Float64}}(X; dims=2)
136136
```
137137
138138
By default, fields will be unwrapped until they match the element type of the array:
139-
```
139+
```julia-repl
140140
julia> StructArray{Tuple{Float64,Complex{Float64}}}(rand(3,2); dims=1)
141141
2-element StructArray(view(::Array{Float64,2}, 1, :), StructArray(view(::Array{Float64,2}, 2, :), view(::Array{Float64,2}, 3, :))) with eltype Tuple{Float64,Complex{Float64}}:
142142
(0.004767505234193781, 0.27949621887414566 + 0.9039320635041561im)

0 commit comments

Comments
 (0)