Skip to content

Commit

Permalink
Merge branch 'main' into config
Browse files Browse the repository at this point in the history
  • Loading branch information
lihaoyi committed Jul 11, 2024
2 parents 8693612 + 944608b commit 3006de0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion upickle/core/templates/ElemUtils.scala
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ object ElemUtils{
if (i >= len) false
else {
val c2 = s.charAt(i)
if (c2 < ' ' | c2 == '"' | c2 == '\\') false
if (c2 < ' ' || c2 == '"' || c2 == '\\') false
else {
arr(arrOffset + i - i0) = c2.toElem
i += 1
Expand Down

0 comments on commit 3006de0

Please sign in to comment.