diff --git a/.git-blame-ignore-revs b/.git-blame-ignore-revs index 2b88ebb7..f8c34d0e 100644 --- a/.git-blame-ignore-revs +++ b/.git-blame-ignore-revs @@ -1,2 +1,5 @@ # Scala Steward: Reformat with scalafmt 3.5.8 faf8cec6e85c9007a5325e84fe908dc4d566f404 + +# Scala Steward: Reformat with scalafmt 3.8.3 +d649a560719be04432c49cf04974f2994698ba09 diff --git a/.scalafmt.conf b/.scalafmt.conf index 224548b4..849c7577 100644 --- a/.scalafmt.conf +++ b/.scalafmt.conf @@ -1,4 +1,4 @@ -version = "3.8.2" +version = "3.8.3" style = default diff --git a/core/shared/src/main/scala/scodec/bits/ByteVector.scala b/core/shared/src/main/scala/scodec/bits/ByteVector.scala index df8d139e..ef5d4710 100644 --- a/core/shared/src/main/scala/scodec/bits/ByteVector.scala +++ b/core/shared/src/main/scala/scodec/bits/ByteVector.scala @@ -1165,7 +1165,7 @@ sealed abstract class ByteVector final def decodeAsciiLenient: String = decodeStringLenient()(Charset.forName("US-ASCII")) - final def not: ByteVector = mapS(new F1B { def apply(b: Byte) = (~b).toByte }) + final def not: ByteVector = mapS(new F1B { def apply(b: Byte) = ~b.toByte }) final def or(other: ByteVector): ByteVector = zipWithS(other)(new F2B { def apply(b: Byte, b2: Byte) = (b | b2).toByte })