diff --git a/src/core/bin.scala b/src/core/bin.scala index b19d205..22538dd 100644 --- a/src/core/bin.scala +++ b/src/core/bin.scala @@ -33,7 +33,7 @@ object Rudiments: def apply(long: Long): ByteSize = long given GenericHttpRequestParam["content-length", ByteSize] = _.long.toString.tt given Ordering[ByteSize] = Ordering.Long.on(_.long) - given MessageShow[ByteSize] = byteSize => Message(byteSize.text) + given Communicable[ByteSize] = byteSize => Message(byteSize.text) given add: ClosedOperator["+", ByteSize] = _ + _ given subtract: ClosedOperator["-", ByteSize] = _ - _