Skip to content
New issue

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

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

Already on GitHub? # to your account

minor: fix lifetime of RawElement::key #473

Merged
merged 1 commit into from
May 14, 2024

Conversation

abr-egn
Copy link
Contributor

@abr-egn abr-egn commented May 14, 2024

Without the annotation it gets a lifetime bound to the RawElement struct, not the underlying data.

@abr-egn
Copy link
Contributor Author

abr-egn commented May 14, 2024

Clippy failures are unrelated.

@abr-egn abr-egn requested a review from isabelatkinson May 14, 2024 16:09
@abr-egn abr-egn merged commit 8ecf27a into mongodb:main May 14, 2024
9 of 11 checks passed
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants