Skip to content

Commit 7751a1c

Browse files
committed
Put allow deadcode for with_critical_section
1 parent b7373aa commit 7751a1c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/types/list.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -647,7 +647,7 @@ impl<'py> BoundListIterator<'py> {
647647
}
648648
}
649649

650-
#[cfg(not(Py_LIMITED_API))]
650+
#[allow(dead_code)]
651651
fn with_critical_section<R>(
652652
&mut self,
653653
f: impl FnOnce(&mut Index, &mut Length, &Bound<'py, PyList>) -> R,

0 commit comments

Comments
 (0)