Skip to content

Commit b845929

Browse files
committed
Support AbstractString in unescape
1 parent 5bfbd44 commit b845929

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/strings.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ end
106106
# unescaping not supported for Tuple{Ptr{UInt8}, Int}!!!
107107
unescape(T, x::Tuple{Ptr{UInt8}, Int}, escapechar, closequotechar) = x
108108

109-
function unescape(T, s::String, escapechar, closequotechar)
109+
function unescape(T, s::AbstractString, escapechar, closequotechar)
110110
if length(BUF.data) < sizeof(s)
111111
resize!(BUF.data, sizeof(s))
112112
end

0 commit comments

Comments
 (0)