Skip to content

Commit 2488ebd

Browse files
committed
one more ::Int
1 parent 4165780 commit 2488ebd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

base/strings/basic.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -562,7 +562,7 @@ julia> nextind("α", 1, 2)
562562
```
563563
"""
564564
nextind(s::AbstractString, i::Integer, n::Integer) = nextind(s, Int(i)::Int, Int(n)::Int)
565-
nextind(s::AbstractString, i::Integer) = nextind(s, Int(i)::Int)
565+
nextind(s::AbstractString, i::Integer) = nextind(s, Int(i)::Int)::Int
566566
nextind(s::AbstractString, i::Int) = nextind(s, i, 1)
567567

568568
function nextind(s::AbstractString, i::Int, n::Int)

0 commit comments

Comments
 (0)