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

Implement Encoder and Decoder for Box<T> #644

Merged
merged 1 commit into from
Aug 9, 2024

Conversation

dvic
Copy link
Contributor

@dvic dvic commented Aug 8, 2024

I encountered a Clippy warning that my enum got too big and I should box up my inner value, hence the PR ^^.

@dvic dvic force-pushed the box-encoder-decoder branch from 17f0394 to 657bbb2 Compare August 8, 2024 21:31
@filmor
Copy link
Member

filmor commented Aug 9, 2024

Maybe expand the Encoder for all Deref<Target=T>?

@dvic
Copy link
Contributor Author

dvic commented Aug 9, 2024

Maybe expand the Encoder for all Deref<Target=T>?

You mean like below? I get a conflicting implementation error like this

image

@filmor filmor merged commit a0ddedf into rusterlium:master Aug 9, 2024
46 checks passed
@dvic dvic deleted the box-encoder-decoder branch August 9, 2024 11:43
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.

2 participants