Skip to content

Commit 7f79d81

Browse files
committed
wording
1 parent c067728 commit 7f79d81

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,7 @@ This is obviously far more code to maintain, a lot of it repetitive and often re
293293

294294
I'm sure there are times when returning a Result might make sense, but this proposal isn't about that. It's about the `try` operator, and the try operator just needs some way to encapsulate its three values.
295295

296-
Even here, the benefit of the try operator is that developers can pass the whole try expression to a helper function that converts the Result into their chosen error composition cascade. The callback that would previously have been required and often breaks static analysis is no longer necessary.
296+
Even here, the benefit of the try operator is that developers can pass the whole try expression to a helper function that converts the Result into their chosen error composition cascade. The callback that would previously have been required, which often makes static analysis more context dependant and difficult, is no longer necessary.
297297

298298
```ts
299299
// instead of toChainMatch(() => db.select(db.connect(), id))

0 commit comments

Comments
 (0)