Skip to content

Commit

Permalink
Merge pull request #598 from scala-steward/update/scalafmt-core-3.0.7
Browse files Browse the repository at this point in the history
Update scalafmt-core to 3.0.7
  • Loading branch information
mergify[bot] authored Oct 20, 2021
2 parents 4c679a5 + 4450d5c commit 63a2837
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .scalafmt.conf
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
align.preset = "more"
maxColumn = 120
version = "3.0.6"
version = "3.0.7"
fileOverride {
"glob:**/src/main/scala-3/**" {
runner.dialect = scala3
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ package object memoization {
* A result, either retrieved from the cache or calculated by executing the function `f`
*/
inline def memoize[F[_], V](ttl: Option[Duration])(f: => V)(implicit cache: Cache[F, V], flags: Flags): F[V] =
$ { Macros.memoizeImpl[F, V]('ttl, 'f, 'cache, 'flags) }
${ Macros.memoizeImpl[F, V]('ttl, 'f, 'cache, 'flags) }

/** Perform the given operation and memoize its result to a cache before returning it. If the result is already in the
* cache, return it without performing the operation.
Expand Down Expand Up @@ -61,5 +61,5 @@ package object memoization {
* A result, either retrieved from the cache or calculated by executing the function `f`
*/
inline def memoizeF[F[_], V](ttl: Option[Duration])(f: F[V])(implicit cache: Cache[F, V], flags: Flags): F[V] =
$ { Macros.memoizeFImpl[F, V]('ttl, 'f, 'cache, 'flags) }
${ Macros.memoizeFImpl[F, V]('ttl, 'f, 'cache, 'flags) }
}

0 comments on commit 63a2837

Please sign in to comment.