Skip to content

Conversation

@skaunov
Copy link
Contributor

@skaunov skaunov commented Oct 24, 2025

Also there's a third solution: take(*movable); which makes the thing Copy and it flies flawlessly. It's kinda intense to see how the polar (ref and deref) solutions both works but for such the different reasons.

Maybe the boxed value should be changed to a non-copy type (then Box would be not even needed I guess?) to avoid this third solution?

no need to change the function signature
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