Skip to content

Commit d488733

Browse files
updates to IterBridge + add ParallelBridge to prelude
1 parent 8bf18d7 commit d488733

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/iter/par_bridge.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ impl<T: Iterator + Send> ParallelBridge for T
6464
/// [`ParallelBridge`] documentation for details.
6565
///
6666
/// [`ParallelBridge`]: trait.ParallelBridge.html
67-
#[derive(Debug)]
67+
#[derive(Debug, Clone)]
6868
pub struct IterBridge<Iter> {
6969
iter: Iter,
7070
}

src/prelude.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ pub use iter::IntoParallelRefMutIterator;
99
pub use iter::IndexedParallelIterator;
1010
pub use iter::ParallelExtend;
1111
pub use iter::ParallelIterator;
12+
pub use iter::ParallelBridge;
1213
pub use slice::ParallelSlice;
1314
pub use slice::ParallelSliceMut;
1415
pub use str::ParallelString;

0 commit comments

Comments
 (0)