diff options
| author | Mazdak Farrokhzad <twingoow@gmail.com> | 2018-02-12 08:35:12 +0100 |
|---|---|---|
| committer | Mazdak Farrokhzad <twingoow@gmail.com> | 2018-02-12 08:35:12 +0100 |
| commit | 1af9ee1350cc69e7c1873d26637064824d07c2b8 (patch) | |
| tree | ebd151f4c6a7014625ba1322415541780a38591a | |
| parent | c4099ca4b11acb9949ef0da804a819b4ddfa24a2 (diff) | |
| download | rust-1af9ee1350cc69e7c1873d26637064824d07c2b8.tar.gz rust-1af9ee1350cc69e7c1873d26637064824d07c2b8.zip | |
core::iter::repeat_with: derive Copy, Clone, Debug
| -rw-r--r-- | src/libcore/iter/sources.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libcore/iter/sources.rs b/src/libcore/iter/sources.rs index 2cf90fd079e..d77e8d4db04 100644 --- a/src/libcore/iter/sources.rs +++ b/src/libcore/iter/sources.rs @@ -112,6 +112,7 @@ pub fn repeat<T: Clone>(elt: T) -> Repeat<T> { /// See its documentation for more. /// /// [`repeat_with`]: fn.repeat_with.html +#[derive(Copy, Clone, Debug)] #[unstable(feature = "iterator_repeat_with", issue = "0")] pub struct RepeatWith<F> { repeater: F |
