Skip to content

Commit c3e7827

Browse files
committed
Please clippy
1 parent 5c20c0b commit c3e7827

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/lib.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,9 @@ fn accesskit(py: Python<'_>, m: &PyModule) -> PyResult<()> {
9191
Ok(())
9292
}
9393

94+
// The following exception is needed because this function is only used
95+
// in the bindings for some platform adapters.
96+
#[allow(dead_code)]
9497
fn to_void_ptr(value: &PyAny) -> *mut c_void {
9598
if let Ok(value) = value.extract::<&PyCapsule>() {
9699
return value.pointer();

0 commit comments

Comments
 (0)