Skip to content

fix(lsp): update documentation for unwraps#230

Merged
KyrylR merged 1 commit intoBlockstreamResearch:masterfrom
distributed-lab:lsp/documentation
Mar 13, 2026
Merged

fix(lsp): update documentation for unwraps#230
KyrylR merged 1 commit intoBlockstreamResearch:masterfrom
distributed-lab:lsp/documentation

Conversation

@gerau
Copy link
Contributor

@gerau gerau commented Mar 9, 2026

There was an error in the function signatures for unwrap_left and unwrap_right in the LSP documentation where the expected Either generic types were swapped.

Also make it clearer exactly which type is used when we are unwrapping these values.

@gerau gerau requested a review from delta1 as a code owner March 9, 2026 13:42
Copy link
Collaborator

@KyrylR KyrylR left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK f1953c1; ran test locally

Could we create an issue to sync docs with ones on the simplicity website (there should be JSON which we can use as a source of truth)?

@KyrylR
Copy link
Collaborator

KyrylR commented Mar 13, 2026

Rebase to main pls

There was an error in the function signatures for `unwrap_left` and
`unwrap_right` in the LSP documentation where the expected `Either`
generic types were swapped.

Also make it clearer exactly which type is used when we are unwrapping these values.
@gerau gerau force-pushed the lsp/documentation branch from dd1f546 to ac7f280 Compare March 13, 2026 13:00
@KyrylR
Copy link
Collaborator

KyrylR commented Mar 13, 2026

ACK ac7f280; ran tests locally

@KyrylR KyrylR merged commit fdcb8c0 into BlockstreamResearch:master Mar 13, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants