Skip to content

Commit b2e299d

Browse files
committed
updated doctests
1 parent b539ea3 commit b2e299d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/varname.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@ indexing expression through the [`@varname`](@ref) convenience macro.
1717
1818
```jldoctest
1919
julia> vn = VarName{:x}(((Colon(), 1), (2,)))
20-
x[Colon(),1][2]
20+
x[:,1][2]
2121
2222
julia> vn.indexing
2323
((Colon(), 1), (2,))
2424
2525
julia> @varname x[:, 1][1+1]
26-
x[Colon(),1][2]
26+
x[:,1][2]
2727
```
2828
"""
2929
struct VarName{sym, T<:Tuple}

0 commit comments

Comments
 (0)