We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f04a788 commit 542064fCopy full SHA for 542064f
1 file changed
src/asgi/mod.rs
@@ -241,7 +241,8 @@ impl Asgi {
241
}
242
243
Ok(())
244
- }).map_err(HandlerError::PythonError)
+ })
245
+ .map_err(HandlerError::PythonError)
246
247
248
@@ -343,9 +344,8 @@ impl Handler for Asgi {
343
344
// the coroutine completes.
345
Python::with_gil(|py| {
346
pyo3_async_runtimes::tokio::run(py, async move {
- Python::with_gil(|py| {
347
- pyo3_async_runtimes::tokio::into_future(coroutine.into_bound(py))
348
- })?.await
+ Python::with_gil(|py| pyo3_async_runtimes::tokio::into_future(coroutine.into_bound(py)))?
+ .await
349
})
350
})?;
351
0 commit comments