Skip to content

Commit

Permalink
Merge pull request #2378 from dantb/fix-typo-entitydecoder-scaladoc
Browse files Browse the repository at this point in the history
Fix typo in EntityDecoder.apply scaladoc
  • Loading branch information
aeons committed Jan 29, 2019
2 parents c9a36df + 7d54e99 commit 6901da3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/src/main/scala/org/http4s/EntityDecoder.scala
Expand Up @@ -117,7 +117,7 @@ object EntityDecoder {
// This is not a real media type but will still be matched by `*/*`
private val UndefinedMediaType = new MediaType("UNKNOWN", "UNKNOWN")

/** summon an implicit [[EntityEncoder]] */
/** summon an implicit [[EntityDecoder]] */
def apply[F[_], T](implicit ev: EntityDecoder[F, T]): EntityDecoder[F, T] = ev

implicit def semigroupKForEntityDecoder[F[_]: Functor]: SemigroupK[EntityDecoder[F, ?]] =
Expand Down Expand Up @@ -160,7 +160,7 @@ object EntityDecoder {
*
* Exceptions thrown by `f` are not caught. Care should be taken
* that recoverable errors are returned as a
* `DecodeResult.failure`, or that system errors are raised in `F`.
* [[DecodeResult.failure]], or that system errors are raised in `F`.
*/
def decodeBy[F[_]: Applicative, T](r1: MediaRange, rs: MediaRange*)(
f: Message[F] => DecodeResult[F, T]): EntityDecoder[F, T] = new EntityDecoder[F, T] {
Expand Down

0 comments on commit 6901da3

Please sign in to comment.