Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Builder add_retry_config requires intermediate variable binding #642

Closed
davidsow opened this issue May 22, 2024 · 0 comments · Fixed by #643
Closed

Builder add_retry_config requires intermediate variable binding #642

davidsow opened this issue May 22, 2024 · 0 comments · Fixed by #643

Comments

@davidsow
Copy link
Contributor

Currently the add_retry_config function of OctocrabBuilder is defined with a different function signature than the others, requiring the builder to be bound to an intermediate variable before building to prevent move issues in the borrow checker.

I can't find any public usages of this function on GitHub, so I believe this odd behavior has gone unnoticed since the function was added.

cc @L1ghtman2k (we spoke about this offline)

Example usage:
image

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 a pull request may close this issue.

1 participant