Skip to content

Commit 452d5af

Browse files
committed
#[allow(deprecated)] on the repeatn re-export
1 parent ab02041 commit 452d5af

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/iter/mod.rs

+4-1
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ pub use self::{
190190
panic_fuse::PanicFuse,
191191
par_bridge::{IterBridge, ParallelBridge},
192192
positions::Positions,
193-
repeat::{repeat, repeat_n, repeatn, Repeat, RepeatN},
193+
repeat::{repeat, repeat_n, Repeat, RepeatN},
194194
rev::Rev,
195195
skip::Skip,
196196
skip_any::SkipAny,
@@ -210,6 +210,9 @@ pub use self::{
210210
zip_eq::ZipEq,
211211
};
212212

213+
#[allow(deprecated)]
214+
pub use repeat::repeatn;
215+
213216
/// `IntoParallelIterator` implements the conversion to a [`ParallelIterator`].
214217
///
215218
/// By implementing `IntoParallelIterator` for a type, you define how it will

0 commit comments

Comments
 (0)