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

Add method to get vacant key without mutable access #114

Merged
merged 2 commits into from
Mar 23, 2022

Conversation

binier
Copy link
Contributor

@binier binier commented Mar 17, 2022

Same as slab.vacant_entry().key() without requiring mutable access.

Same as `slab.vacant_entry().key()` without requiring mutable access.
Copy link
Member

@taiki-e taiki-e left a comment

Choose a reason for hiding this comment

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

Thanks!

Copy link
Member

@hawkw hawkw left a comment

Choose a reason for hiding this comment

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

Some small suggestions for the docs.

src/lib.rs Outdated Show resolved Hide resolved
Co-authored-by: Eliza Weisman <eliza@buoyant.io>
Copy link
Member

@hawkw hawkw left a comment

Choose a reason for hiding this comment

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

looks good to me --- thanks for the docs changes!

@taiki-e taiki-e merged commit 711e24a into tokio-rs:master Mar 23, 2022
@taiki-e taiki-e mentioned this pull request Mar 27, 2022
@binier binier deleted the patch-1 branch April 7, 2022 11:18
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.

3 participants