Skip to content

Commit

Permalink
Fix scaladoc (#150)
Browse files Browse the repository at this point in the history
  • Loading branch information
ghostdogpr authored Mar 5, 2020
1 parent 74da23f commit 3823dca
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions interop-cats/shared/src/main/scala/zio/interop/stm/STM.scala
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,6 @@ final class STM[F[+_], +A] private[stm] (private[stm] val underlying: ZSTM[Throw
*/
final def commit(implicit R: Runtime[Any], A: Async[F]): F[A] = STM.atomically(self)

/**
* See [[zio.stm.ZSTM#partial]]]
*/
final def const[B](b: => B): STM[F, B] = self map (_ => b)

/**
Expand All @@ -85,9 +82,6 @@ final class STM[F[+_], +A] private[stm] (private[stm] val underlying: ZSTM[Throw
*/
final def flatMap[B](f: A => STM[F, B]): STM[F, B] = new STM(underlying.flatMap(f.andThen(_.underlying)))

/**
* See [[zio.stm.ZSTM#flatten]]
*/
final def flatten[B](implicit ev: A <:< STM[F, B]): STM[F, B] =
self flatMap ev

Expand Down

0 comments on commit 3823dca

Please sign in to comment.