Skip to content

Commit 2ad589d

Browse files
author
Andrew J Westlake
committed
Fixed some indentation in docs
1 parent 99fe0b7 commit 2ad589d

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/async_std.rs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -158,13 +158,13 @@ where
158158
/// # #[cfg(all(feature = "async-std-runtime", feature = "attributes"))]
159159
/// #[pyo3_asyncio::async_std::main]
160160
/// 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?;
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?;
166166
///
167-
/// Ok(())
167+
/// Ok(())
168168
/// }
169169
/// # #[cfg(not(all(feature = "async-std-runtime", feature = "attributes")))]
170170
/// # fn main() {}

0 commit comments

Comments
 (0)