We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 99fe0b7 commit 2ad589dCopy full SHA for 2ad589d
src/async_std.rs
@@ -158,13 +158,13 @@ where
158
/// # #[cfg(all(feature = "async-std-runtime", feature = "attributes"))]
159
/// #[pyo3_asyncio::async_std::main]
160
/// async fn main() -> PyResult<()> {
161
-/// Python::with_gil(|py| {
162
-/// let py_future = sleep_for(py, 1)?;
163
-/// pyo3_asyncio::into_future(py_future.as_ref(py))
164
-/// })?
165
-/// .await?;
+/// Python::with_gil(|py| {
+/// let py_future = sleep_for(py, 1)?;
+/// pyo3_asyncio::into_future(py_future.as_ref(py))
+/// })?
+/// .await?;
166
///
167
-/// Ok(())
+/// Ok(())
168
/// }
169
/// # #[cfg(not(all(feature = "async-std-runtime", feature = "attributes")))]
170
/// # fn main() {}
0 commit comments