Skip to content

Refactor/switch dict init use take items#58

Draft
josiahls wants to merge 2 commits into
bgreni:mainfrom
josiahls:refactor/switch-dict-init-use-take-items
Draft

Refactor/switch dict init use take items#58
josiahls wants to merge 2 commits into
bgreni:mainfrom
josiahls:refactor/switch-dict-init-use-take-items

Conversation

@josiahls

@josiahls josiahls commented Sep 17, 2025

Copy link
Copy Markdown
Contributor

Depends on #57

@josiahls josiahls requested a review from bgreni as a code owner September 17, 2025 13:46
@josiahls josiahls marked this pull request as draft September 24, 2025 18:36
@josiahls

Copy link
Copy Markdown
Contributor Author

Converting to draft for now.

You can't move both the key and the value out of DictEntry since the deinitializes the DictEntry. I have a PR / proposal about adding a reap function that makes unpacking these values without copies easier, but there is a large conversionation about draining iteration in general.

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.

1 participant