docs(result): document that failure equality ignores error content
Result/Result<T> equality treats any two failures as equal regardless of their Error, which was undocumented and surprising for failure-specific branching.
This commit is contained in:
parent
fbbe94bfa8
commit
ab9407085d
3 changed files with 39 additions and 3 deletions
|
|
@ -45,6 +45,8 @@ To have a consistent experience across all packages, some public interfaces have
|
|||
|
||||
### Changed
|
||||
|
||||
- **request.result:** Document that `Result`/`Result<T>` equality treats any two failures as equal, ignoring error content; branch on the `Error` directly for failure-specific logic (see PLAN.md Inconsistencies#E)
|
||||
|
||||
### Fixed
|
||||
|
||||
- **request.result:** Correct the namespace in the `Prelude` doc comment (`Geekeey.Extensions.Result` → `Geekeey.Request.Result`)
|
||||
|
|
|
|||
Loading…
Reference in a new issue