Skip to content

Commit 1242e65

Browse files
authored
Stability attribute
1 parent 5dac471 commit 1242e65

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

library/core/src/iter/adapters/step_by.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ pub struct StepBy<I> {
3232
first_take: bool,
3333
}
3434

35+
#[unstable(feature = "ub_checks", issue = "none")]
3536
impl<I> Invariant for StepBy<I> {
3637
fn is_safe(&self) -> bool {
3738
self.step_minus_one < usize::MAX

0 commit comments

Comments
 (0)