Skip to content

Commit

Permalink
fix docs build on MSRV
Browse files Browse the repository at this point in the history
  • Loading branch information
ngoldbaum committed Jan 8, 2025
1 parent 994bc49 commit ccffdcb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/types/list.rs
Original file line number Diff line number Diff line change
Expand Up @@ -511,6 +511,7 @@ impl<'py> BoundListIterator<'py> {
/// critical section on the list.
#[inline]
#[cfg(not(Py_LIMITED_API))]
#[allow(unsafe_op_in_unsafe_fn)]
unsafe fn next_unchecked(
index: &mut Index,
length: &mut Length,
Expand Down Expand Up @@ -553,6 +554,7 @@ impl<'py> BoundListIterator<'py> {
/// critical section on the list.
#[inline]
#[cfg(not(Py_LIMITED_API))]
#[allow(unsafe_op_in_unsafe_fn)]
unsafe fn next_back_unchecked(
index: &mut Index,
length: &mut Length,
Expand Down

0 comments on commit ccffdcb

Please sign in to comment.