about summary refs log tree commit diff
path: root/src/libcore
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2020-02-05 03:20:43 +0000
committerbors <bors@rust-lang.org>2020-02-05 03:20:43 +0000
commit4ff8fb9cb210a9f06e0eafc364bd12de2b67f087 (patch)
tree6f9b7c76baf956f86cb6a9f881e5908bbadb16cd /src/libcore
parent002287d25f6ef9718dbabd3e23c00b5ebcfb51c1 (diff)
parent793a5e68b4589d4168fa778c65ca9b92e0b85f62 (diff)
downloadrust-4ff8fb9cb210a9f06e0eafc364bd12de2b67f087.tar.gz
rust-4ff8fb9cb210a9f06e0eafc364bd12de2b67f087.zip
Auto merge of #68831 - Dylan-DPC:rollup-j6x15y9, r=Dylan-DPC
Rollup of 7 pull requests

Successful merges:

 - #68282 (Instrument C / C++ in MemorySanitizer example)
 - #68758 (Fix 59191 - ICE when macro replaces crate root with non-module item)
 - #68805 (bootstrap: fix clippy warnings)
 - #68810 (Remove Copy impl from OnceWith)
 - #68815 (remove redundant imports (clippy::single_component_path_imports))
 - #68818 (fix couple of perf related clippy warnings)
 - #68819 (Suggest `split_at_mut` on multiple mutable index access)

Failed merges:

r? @ghost
Diffstat (limited to 'src/libcore')
-rw-r--r--src/libcore/iter/sources.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/iter/sources.rs b/src/libcore/iter/sources.rs
index 5a31acab273..a1d4e1b31e9 100644
--- a/src/libcore/iter/sources.rs
+++ b/src/libcore/iter/sources.rs
@@ -398,7 +398,7 @@ pub fn once<T>(value: T) -> Once<T> {
 /// See its documentation for more.
 ///
 /// [`once_with`]: fn.once_with.html
-#[derive(Copy, Clone, Debug)]
+#[derive(Clone, Debug)]
 #[stable(feature = "iter_once_with", since = "1.43.0")]
 pub struct OnceWith<F> {
     gen: Option<F>,