Skip to content

Commit

Permalink
std::error::Chain: remove Copy
Browse files Browse the repository at this point in the history
remove Copy from Iterator as per comment
#58520 (comment)
  • Loading branch information
haraldh committed Nov 18, 2019
1 parent ce36ab2 commit de122e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libstd/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)>,
}
Expand Down

0 comments on commit de122e6

Please sign in to comment.