Skip to content

Commit c9e06b5

Browse files
committed
Specialize implementations
Implementations in stdlib are now optimized as they were before.
1 parent b6e6e98 commit c9e06b5

File tree

4 files changed

+376
-105
lines changed

4 files changed

+376
-105
lines changed

core/src/iter/mod.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -384,6 +384,8 @@ pub use self::traits::FusedIterator;
384384
pub use self::traits::InPlaceIterable;
385385
#[unstable(feature = "trusted_len", issue = "37572")]
386386
pub use self::traits::TrustedLen;
387+
#[unstable(feature = "trusted_step", issue = "85731")]
388+
pub use self::traits::TrustedStep;
387389
#[stable(feature = "rust1", since = "1.0.0")]
388390
pub use self::traits::{
389391
DoubleEndedIterator, ExactSizeIterator, Extend, FromIterator, IntoIterator, Product, Sum,

0 commit comments

Comments
 (0)