From 91cd09bb6aa1992a544937930b9a0e96468f58d9 Mon Sep 17 00:00:00 2001 From: Lachlan O'Dea Date: Sun, 20 Sep 2020 12:02:10 +1000 Subject: [PATCH] Update docs/essentials/index.md Improve wording. Co-authored-by: Maxim Schuwalow <16665913+mschuwalow@users.noreply.github.com> --- docs/essentials/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/essentials/index.md b/docs/essentials/index.md index a889531f..e2e146ea 100644 --- a/docs/essentials/index.md +++ b/docs/essentials/index.md @@ -55,7 +55,7 @@ val read100: ZIO[Blocking, Option[IOException], Chunk[Byte]] = .flatMap(_.readChunk(100).eofCheck) ``` -If the error is `None` if end-of-stream is reached, and it is `Some` if the read failed. +End-of-stream will be signalled with `None`. Any errors will be wrapped in `Some`. ## References