Skip to content

Commit cd0df39

Browse files
committed
.
1 parent 7b1cc07 commit cd0df39

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

content/unpack.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -178,9 +178,9 @@ val stream = downloadStream(
178178
```
179179

180180
Forcing the user to construct this tree-shaped `case class` data structure is an abstraction leak:
181-
the user has to write code matching the internal implementation details and code sharing of
182-
the `def download` methods, and construct the corresponding `case class` tree, even though they
183-
may really only care about calling a single `downloadAsync` method.
181+
the user has to write code matching the internal implementation details and code sharing
182+
relationships of the `def download` methods to construct the corresponding `case class` tree,
183+
even though they may really only care about calling a single `downloadAsync` method.
184184

185185
There are other more sophisticated ways that a library author can try to mitigate this -
186186
e.g. builder patterns - but the fundamental problem is unsolvable today. `unpack`/`*` solves

0 commit comments

Comments
 (0)