diff options
| author | Harald Hoyer <harald@redhat.com> | 2019-11-15 14:29:35 +0100 |
|---|---|---|
| committer | Harald Hoyer <harald@redhat.com> | 2019-11-18 09:01:34 +0100 |
| commit | de122e673ac06f47652a593e0895f8367e049290 (patch) | |
| tree | 7f25d919b54a7fe22437885c8df7dd13200bdf3a /src/libstd | |
| parent | ce36ab2b064c2aa716084d79717c64cc04bb6532 (diff) | |
| download | rust-de122e673ac06f47652a593e0895f8367e049290.tar.gz rust-de122e673ac06f47652a593e0895f8367e049290.zip | |
std::error::Chain: remove Copy
remove Copy from Iterator as per comment https://github.com/rust-lang/rust/issues/58520#issuecomment-553682166
Diffstat (limited to 'src/libstd')
| -rw-r--r-- | src/libstd/error.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/error.rs b/src/libstd/error.rs index df24b6635f4..d1cb0862d82 100644 --- a/src/libstd/error.rs +++ b/src/libstd/error.rs @@ -791,7 +791,7 @@ impl dyn Error { /// /// [`Error`]: trait.Error.html #[unstable(feature = "error_iter", issue = "58520")] -#[derive(Copy, Clone, Debug)] +#[derive(Clone, Debug)] pub struct Chain<'a> { current: Option<&'a (dyn Error + 'static)>, } |
