From 78a4b20e05d778cdc9bb8674f9685bea45ddb7e7 Mon Sep 17 00:00:00 2001 From: Ruslans Tarasovs Date: Fri, 10 Jan 2025 15:05:32 +0200 Subject: [PATCH] Some typos fixed. --- core/src/main/scala/com/evolutiongaming/catshelper/Log.scala | 2 +- .../src/main/scala/com/evolutiongaming/catshelper/LogOf.scala | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/core/src/main/scala/com/evolutiongaming/catshelper/Log.scala b/core/src/main/scala/com/evolutiongaming/catshelper/Log.scala index 0692f2a..7c02d2a 100644 --- a/core/src/main/scala/com/evolutiongaming/catshelper/Log.scala +++ b/core/src/main/scala/com/evolutiongaming/catshelper/Log.scala @@ -18,7 +18,7 @@ import scala.collection.immutable.SortedMap * The recommendation is to avoid passing `Log` instances implicitly as there * could be multiple instances of `Log`, which could lead to confusion and * log messages attributed to the wrong class, which leaked its own `Log` - * instances accidentially. + * instances accidentally. * * @see [[LogOf]] for usage examples. * @see [[org.slf4j.Logger]] for a typical underlying implementation. diff --git a/core/src/main/scala/com/evolutiongaming/catshelper/LogOf.scala b/core/src/main/scala/com/evolutiongaming/catshelper/LogOf.scala index 8b38f4d..5238bbc 100644 --- a/core/src/main/scala/com/evolutiongaming/catshelper/LogOf.scala +++ b/core/src/main/scala/com/evolutiongaming/catshelper/LogOf.scala @@ -19,12 +19,12 @@ import scala.reflect.ClassTag * implicit val logOf = LogOf.slf4j[F] * }}} * - * Then the typical example could look like following: + * Then a typical example would be: * {{{ * class UserService[F[_]: Monad](log: Log[F]) { * * def create(user: User): F[Unit] = { - * for { + * for { * _ <- log.info(s"Creating user...") * _ <- ... * } yield ()