Skip to content

Commit

Permalink
Some typos fixed.
Browse files Browse the repository at this point in the history
  • Loading branch information
rtar committed Jan 10, 2025
1 parent fa233cf commit 78a4b20
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 ()
Expand Down

0 comments on commit 78a4b20

Please sign in to comment.