Skip to content

Commit

Permalink
Merge pull request #4634 from bwignall/fix_typos
Browse files Browse the repository at this point in the history
Fix typos
  • Loading branch information
rossabaker authored Jul 8, 2024
2 parents 824b1cb + 0313f11 commit 7711747
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ trait DivisionRing[@sp(Byte, Short, Int, Long, Float, Double) A] extends Any wit
* This is implemented in terms of basic Ring ops. However, this is
* probably significantly less efficient than can be done with a
* specific type. So, it is recommended that this method be
* overriden.
* overridden.
*
* This is possible because a Double is a rational number.
*/
Expand Down
2 changes: 1 addition & 1 deletion core/src/main/scala/cats/TraverseFilter.scala
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ trait TraverseFilter[F[_]] extends FunctorFilter[F] {

/**
* Removes duplicate elements from a list, keeping only the first occurrence.
* This is usually faster than ordDistinct, especially for things that have a slow comparion (like String).
* This is usually faster than ordDistinct, especially for things that have a slow comparison (like String).
*/
def hashDistinct[A](fa: F[A])(implicit H: Hash[A]): F[A] =
traverseFilter(fa) { a =>
Expand Down
2 changes: 1 addition & 1 deletion core/src/main/scala/cats/data/ContT.scala
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ object ContT {
* _ <- ContT.callCC( (k: Unit => ContT[IO, Unit, Unit]) =>
* ContT.liftF(IO.println("this will print first")) >>
* k(()) >>
* ContT.liftF(IO.println("this will NOT print as we short-circuit to the contination"))
* ContT.liftF(IO.println("this will NOT print as we short-circuit to the continuation"))
* )
* _ <- ContT.liftF(IO.println("this will print second")])
* } yield ()
Expand Down

0 comments on commit 7711747

Please sign in to comment.