Skip to content

Commit 8b34b7b

Browse files
Auto merge of #149966 - Mark-Simulacrum:no-copy-ancestors, r=<try>
Remove Copy impl on Ancestors
2 parents 430d829 + 7f16edc commit 8b34b7b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/std/src/path.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1093,7 +1093,7 @@ fn compare_components(mut left: Components<'_>, mut right: Components<'_>) -> cm
10931093
/// ```
10941094
///
10951095
/// [`ancestors`]: Path::ancestors
1096-
#[derive(Copy, Clone, Debug)]
1096+
#[derive(Clone, Debug)]
10971097
#[must_use = "iterators are lazy and do nothing unless consumed"]
10981098
#[stable(feature = "path_ancestors", since = "1.28.0")]
10991099
pub struct Ancestors<'a> {

0 commit comments

Comments
 (0)