Skip to content

Commit 0ccaf2f

Browse files
Update library/core/src/iter/range.rs
Co-authored-by: Carolyn Zech <[email protected]>
1 parent 24ea4b1 commit 0ccaf2f

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

library/core/src/iter/range.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -502,7 +502,6 @@ impl Step for char {
502502
Some(unsafe { char::from_u32_unchecked(res) })
503503
}
504504

505-
#[requires((start as u32).checked_add(count as u32).is_some())]
506505
#[requires({
507506
let dist = (start as u32).checked_add(count as u32);
508507
dist.is_some() &&

0 commit comments

Comments
 (0)