From 1c8f53b2f036ff63c491434d27cac67e69fa8f98 Mon Sep 17 00:00:00 2001 From: Thomas Hoefer Date: Tue, 26 Sep 2023 16:09:24 +0200 Subject: [PATCH] better docs --- zio-http/src/main/scala/zio/http/Request.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zio-http/src/main/scala/zio/http/Request.scala b/zio-http/src/main/scala/zio/http/Request.scala index fefd0150f3..b258a4d180 100644 --- a/zio-http/src/main/scala/zio/http/Request.scala +++ b/zio-http/src/main/scala/zio/http/Request.scala @@ -126,7 +126,7 @@ final case class Request( * Uses the cookie with the given name if it exists and runs `f` with the * cookie afterwards. * - * Also, you can set a custom failure value from an absent cookie with `E`. + * Also, you can set a custom failure value from a missing cookie with `E`. */ def cookieWithOrFail[R, E, A](name: String)(missingCookieError: E)(f: Cookie => ZIO[R, E, A])(implicit trace: Trace,