Skip to content

Revert "Impl Clone for header::ToStrError (#203)"#204

Merged
seanmonstar merged 1 commit into
masterfrom
revert-203
May 25, 2018
Merged

Revert "Impl Clone for header::ToStrError (#203)"#204
seanmonstar merged 1 commit into
masterfrom
revert-203

Conversation

@carllerche

Copy link
Copy Markdown
Collaborator

Errors explicitly avoid Clone in order to be future compatible with
adding inner field types that may not be Clone. Many Rust errors do
not impl Clone, so adding a Clone impl to an error prevents it from
containing other errors in the future.

This reverts commit 46ee6f8.

Errors explicitly avoid `Clone` in order to be future compatible with
adding inner field types that may not be `Clone`. Many Rust errors do
not impl `Clone`, so adding a `Clone` impl to an error prevents it from
containing other errors in the future.

This reverts commit 46ee6f8.
@seanmonstar seanmonstar merged commit 3ddc4a3 into master May 25, 2018
@seanmonstar seanmonstar deleted the revert-203 branch June 25, 2018 19:12
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