diff --git a/src/LaTeXStrings.jl b/src/LaTeXStrings.jl index 0f26c44..757c8ae 100644 --- a/src/LaTeXStrings.jl +++ b/src/LaTeXStrings.jl @@ -61,6 +61,7 @@ Compat.firstindex(s::LaTeXString) = Compat.firstindex(s.s) Compat.lastindex(s::LaTeXString) = Compat.lastindex(s.s) @static if isdefined(Base, :iterate) Base.iterate(s::LaTeXString, i::Int) = iterate(s.s, i) + Base.iterate(s::LaTeXString) = iterate(s.s) else Base.start(s::LaTeXString) = start(s.s) Base.next(s::LaTeXString, i) = next(s.s, i)