core::iter::repeat_with: derive Copy, Clone, Debug
This commit is contained in:
parent
c4099ca4b1
commit
1af9ee1350
1 changed files with 1 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue