Skip to content

Conversation

branchseer
Copy link
Contributor

Implementations of FromIterator::from_iter and Visitor::visit_map share a lot of repeated code about building a Slab from pairs. This PR extracts it into a Builder.

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!

Co-authored-by: Taiki Endo <te316e89@gmail.com>
@taiki-e taiki-e merged commit 0eaabe8 into tokio-rs:master Feb 10, 2023
@Darksonn Darksonn mentioned this pull request Feb 19, 2023
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