From 7d54e99bd21df4695b4205eb89f79e5ed84ae043 Mon Sep 17 00:00:00 2001 From: dantb Date: Mon, 28 Jan 2019 19:02:22 +0000 Subject: [PATCH] Fix typo in EntityDecoder.apply scaladoc --- core/src/main/scala/org/http4s/EntityDecoder.scala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/src/main/scala/org/http4s/EntityDecoder.scala b/core/src/main/scala/org/http4s/EntityDecoder.scala index edf0dc90297..f5a7aaf300d 100644 --- a/core/src/main/scala/org/http4s/EntityDecoder.scala +++ b/core/src/main/scala/org/http4s/EntityDecoder.scala @@ -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, ?]] = @@ -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] {