Skip to content

Commit

Permalink
Reformat with scalafmt 3.8.3
Browse files Browse the repository at this point in the history
Executed command: scalafmt --non-interactive
  • Loading branch information
scala-steward committed Jul 29, 2024
1 parent 255571a commit 8105fda
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions refined/src/main/scala/monocle/refined/internal/Bits.scala
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ private[monocle] trait BitsInstances {

def signed(a: Byte): Boolean = signum(a) > 0

def negate(a: Byte): Byte = (~a).toByte
def negate(a: Byte): Byte = ~a.toByte
}

implicit val charBits: Bits[Char] = new Bits[Char] {
Expand All @@ -73,7 +73,7 @@ private[monocle] trait BitsInstances {

def testBit(a: Char, n: Int): Boolean = bitwiseAnd(a, singleBit(n)) != 0

def negate(a: Char): Char = (~a).toChar
def negate(a: Char): Char = ~a.toChar
def signed(a: Char): Boolean = signum(a) > 0
}

Expand Down

0 comments on commit 8105fda

Please sign in to comment.