Skip to content

Change RequestContext::extract_v1 signature#184

Closed
jbesraa wants to merge 1 commit into
payjoin:masterfrom
jbesraa:prevent-extractv1-taking-ownership
Closed

Change RequestContext::extract_v1 signature#184
jbesraa wants to merge 1 commit into
payjoin:masterfrom
jbesraa:prevent-extractv1-taking-ownership

Conversation

@jbesraa

@jbesraa jbesraa commented Jan 29, 2024

Copy link
Copy Markdown
Contributor

resolves #183

  Currently `extract_v1` takes ownership of `self`
  we change this to a `&self` so we can use it in the same scope
  with other functions that would need to consumes `&self` as well.
@jbesraa
jbesraa requested a review from DanGould January 29, 2024 11:30
@jbesraa jbesraa closed this Jan 31, 2024
@jbesraa

jbesraa commented Jan 31, 2024

Copy link
Copy Markdown
Contributor Author

As send::RequextContext implements clone, we dont need this any more.

@DanGould
DanGould removed their request for review January 31, 2024 19:30
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.

Prevent send::RequestContext::extract_v1 to take owner of self

1 participant