Skip to content

Commit

Permalink
Update util.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
Priynsh authored Jan 28, 2025
1 parent ba5ce0e commit ec60545
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion base/strings/util.jl
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,6 @@ Base.startswith(io::IO, prefix::AbstractString) = startswith(io, String(prefix))

function endswith(a::Union{String, SubString{String}},
b::Union{String, SubString{String}})
cub = ncodeunits(b)
astart = ncodeunits(a) - ncodeunits(b) + 1
if astart < 1
false
Expand Down

0 comments on commit ec60545

Please sign in to comment.