We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8417d68 commit 5f689feCopy full SHA for 5f689fe
src/libcore/iter/sources.rs
@@ -398,7 +398,7 @@ pub fn once<T>(value: T) -> Once<T> {
398
/// See its documentation for more.
399
///
400
/// [`once_with`]: fn.once_with.html
401
-#[derive(Copy, Clone, Debug)]
+#[derive(Clone, Debug)]
402
#[stable(feature = "iter_once_with", since = "1.43.0")]
403
pub struct OnceWith<F> {
404
gen: Option<F>,
0 commit comments