Skip to content

Commit 4ea2d16

Browse files
authored
Merge pull request #374 from scodec/topic/upgrade-scalafmt
Upgrade scalafmt to 3.5.4
2 parents 7642b33 + aae1d9b commit 4ea2d16

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.scalafmt.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
version = "3.5.2"
1+
version = "3.5.4"
22

33
style = default
44

core/shared/src/main/scala/scodec/bits/ByteVector.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1123,14 +1123,14 @@ sealed abstract class ByteVector
11231123

11241124
private[scodec] final def zipWithS(other: ByteVector, other2: ByteVector)(f: F3B): ByteVector = {
11251125
val at = new At { def apply(i: Long) = f(ByteVector.this(i), other(i), other2(i)) }
1126-
Chunk(View(at, 0, (size.min(other.size)).min(other2.size)))
1126+
Chunk(View(at, 0, size.min(other.size).min(other2.size)))
11271127
}
11281128

11291129
private[scodec] final def zipWithS(other: ByteVector, other2: ByteVector, other3: ByteVector)(
11301130
f: F4B
11311131
): ByteVector = {
11321132
val at = new At { def apply(i: Long) = f(ByteVector.this(i), other(i), other2(i), other3(i)) }
1133-
Chunk(View(at, 0, ((size.min(other.size)).min(other2.size)).min(other3.size)))
1133+
Chunk(View(at, 0, size.min(other.size).min(other2.size).min(other3.size)))
11341134
}
11351135

11361136
/** Returns a new vector where each byte is the result of evaluating the specified function

0 commit comments

Comments
 (0)