diff --git a/base/strings/io.jl b/base/strings/io.jl index 2901fe4bd3c2b..449a5dbf91989 100644 --- a/base/strings/io.jl +++ b/base/strings/io.jl @@ -559,7 +559,6 @@ function escape_raw_string(io, str::AbstractString) write(io, '\\') escapes -= 1 end - escapes = 0 write(io, c) end end