Skip to content

Commit 8aca8ce

Browse files
committed
Improve formatting of indexin doctest/example
1 parent bf27146 commit 8aca8ce

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

base/array.jl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2168,11 +2168,11 @@ array contains 0 wherever `a` is not a member of `b`.
21682168
21692169
# Examples
21702170
```jldoctest
2171-
julia> a = ['a', 'b', 'c', 'b', 'd', 'a'];
2171+
julia> a = ['a', 'b', 'c', 'b', 'd', 'a']
21722172
2173-
julia> b = ['a','b','c'];
2173+
julia> b = ['a', 'b', 'c']
21742174
2175-
julia> indexin(a,b)
2175+
julia> indexin(a, b)
21762176
6-element Array{Int64,1}:
21772177
1
21782178
2
@@ -2181,7 +2181,7 @@ julia> indexin(a,b)
21812181
0
21822182
1
21832183
2184-
julia> indexin(b,a)
2184+
julia> indexin(b, a)
21852185
3-element Array{Int64,1}:
21862186
6
21872187
4

0 commit comments

Comments
 (0)