Skip to content

Commit

Permalink
Switch internal docstrings to comments
Browse files Browse the repository at this point in the history
  • Loading branch information
jakobnissen committed Nov 18, 2024
1 parent ffab9e5 commit c1f87e0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions base/strings/search.jl
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ is_standalone_byte(x::UInt8) = (x < 0x80) | (x > 0xf7)
last_byteindex(x::Union{String, SubString{String}}) = ncodeunits(x)
last_byteindex(x::DenseUInt8OrInt8) = lastindex(x)

"Internal type - lazy iterator over positions of char in string"
# Internal type - lazy iterator over positions of char in string
struct FwCharPosIter{S}
string::S # S is assumed to be either String or SubString{String}
char::Char
Expand Down Expand Up @@ -95,7 +95,7 @@ function Base.iterate(s::FwCharPosIter, i::Int=1)
end
end

"Internal type - lazy iterator over positions of char in string, in reverse order"
# Internal type - lazy iterator over positions of char in string, in reverse order
struct RvCharPosIter{S}
string::S # S is assumed to be either String or SubString{String}
char::Char
Expand Down

0 comments on commit c1f87e0

Please sign in to comment.