Skip to content

Commit

Permalink
[Docs] Add missing code block (#44094)
Browse files Browse the repository at this point in the history
* [Docs] Add missing code block

* Fix block order
  • Loading branch information
jeremiahpslewis committed Feb 10, 2022
1 parent aae68a5 commit 94bbfd4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions base/abstractarray.jl
Original file line number Diff line number Diff line change
Expand Up @@ -2126,7 +2126,9 @@ julia> hvncat(((3, 3), (3, 3), (6,)), true, a, b, c, d, e, f)
4 5 6
```
# Examples for construction of the arguments:
```julia
[a b c ; d e f ;;;
g h i ; j k l ;;;
m n o ; p q r ;;;
Expand All @@ -2143,6 +2145,7 @@ julia> hvncat(((3, 3), (3, 3), (6,)), true, a, b, c, d, e, f)
_____________
4 = elements in each 4d slice (4,)
=> shape = ((2, 1, 1), (3, 1), (4,), (4,)) with `rowfirst` = true
```
"""
hvncat(dimsshape::Tuple, row_first::Bool, xs...) = _hvncat(dimsshape, row_first, xs...)
hvncat(dim::Int, xs...) = _hvncat(dim, true, xs...)
Expand Down

0 comments on commit 94bbfd4

Please sign in to comment.