mirror of
https://github.com/emmett-framework/granian.git
synced 2025-07-07 11:25:36 +00:00
Fix lint on Rust 1.88
This commit is contained in:
parent
56fb0a3ef0
commit
d73be31aff
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@ impl CallbackScheduler {
|
|||
pyo3::ffi::PyObject_CallOneArg(self.aio_tenter.as_ptr(), aiotask);
|
||||
|
||||
let mut pres = std::ptr::null_mut::<pyo3::ffi::PyObject>();
|
||||
let gres = pyo3::ffi::PyIter_Send(state.coro.as_ptr(), self.pynone.as_ptr(), &mut pres);
|
||||
let gres = pyo3::ffi::PyIter_Send(state.coro.as_ptr(), self.pynone.as_ptr(), &raw mut pres);
|
||||
|
||||
if gres == pyo3::ffi::PySendResult::PYGEN_NEXT {
|
||||
if pres == self.pynone.as_ptr() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue