Skip to content

Commit de122e6

Browse files
committed
std::error::Chain: remove Copy
remove Copy from Iterator as per comment #58520 (comment)
1 parent ce36ab2 commit de122e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libstd/error.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -791,7 +791,7 @@ impl dyn Error {
791791
///
792792
/// [`Error`]: trait.Error.html
793793
#[unstable(feature = "error_iter", issue = "58520")]
794-
#[derive(Copy, Clone, Debug)]
794+
#[derive(Clone, Debug)]
795795
pub struct Chain<'a> {
796796
current: Option<&'a (dyn Error + 'static)>,
797797
}

0 commit comments

Comments
 (0)