scala 3 fmt

This commit is contained in:
Mark Canlas 2023-06-13 13:00:06 -04:00
parent 597fb703fb
commit 9fe057188e
2 changed files with 2 additions and 4 deletions

View File

@ -33,6 +33,5 @@ object ReadWriteLocation:
implicit def namedResourceForReadWriteLocation[A]: NamedResource[ReadWriteLocation[A]] = implicit def namedResourceForReadWriteLocation[A]: NamedResource[ReadWriteLocation[A]] =
new NamedResource[ReadWriteLocation[A]]: new NamedResource[ReadWriteLocation[A]]:
def toDefinitions(x: ReadWriteLocation[A]): List[Definition[ZeroAddress]] = def toDefinitions(x: ReadWriteLocation[A]): List[Definition[ZeroAddress]] =
List { List:
Definition(x.name, x.address, "Read/write location for A values") Definition(x.name, x.address, "Read/write location for A values")
}

View File

@ -20,6 +20,5 @@ object VolatileDevice:
implicit def namedResourceForVolatileDevice[A]: NamedResource[VolatileDevice[A]] = implicit def namedResourceForVolatileDevice[A]: NamedResource[VolatileDevice[A]] =
new NamedResource[VolatileDevice[A]]: new NamedResource[VolatileDevice[A]]:
def toDefinitions(x: VolatileDevice[A]): List[Definition[ZeroAddress]] = def toDefinitions(x: VolatileDevice[A]): List[Definition[ZeroAddress]] =
List { List:
Definition(x.name, x.address, "Volatile generator for A values") Definition(x.name, x.address, "Volatile generator for A values")
}