Skip to content

Make all public structs cloneable, except for ImplementationError #19

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

Merged
merged 1 commit into from
May 30, 2025

Conversation

AkshatM
Copy link
Contributor

@AkshatM AkshatM commented May 30, 2025

This is a minor quality-of-life improvement to make it easy to embed these structs in wrappers that implement Clone(). It came up during tests, for example, that would be greatly simplified if a covered component could be Cloned.

ImplementationError cannot be Clone()d because sfv::Error is not cloneable.

This is a minor quality-of-life improvement to make it easy to embed
these structs in wrappers that implement `Clone()`. It came up during
tests, for example, that would be greatly simplified if a covered
component could be `Cloned`.

`ImplementationError` cannot be `Clone()`d because `sfv::Error` is not
cloneable.
@AkshatM AkshatM requested review from thibmeu and armfazh May 30, 2025 18:33
@AkshatM AkshatM merged commit a2af778 into cloudflare:main May 30, 2025
2 checks passed
@AkshatM AkshatM deleted the add_clone branch May 30, 2025 18:37
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