Skip to content

Commit

Permalink
Fix StaticLocalExecutor doc tests
Browse files Browse the repository at this point in the history
  • Loading branch information
james7132 committed Apr 13, 2024
1 parent 281b601 commit 0088189
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/leaked.rs
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ impl LocalExecutor<'static> {
/// # Example
///
/// ```
/// use async_executor::Executor;
/// use async_executor::LocalExecutor;
/// use futures_lite::future;
///
/// let ex = LocalExecutor::new().leak();
Expand Down Expand Up @@ -294,7 +294,7 @@ impl StaticLocalExecutor {
/// # Examples
///
/// ```
/// use async_executor::Executor;
/// use async_executor::LocalExecutor;
///
/// let ex = LocalExecutor::new().leak();
///
Expand Down Expand Up @@ -373,7 +373,7 @@ impl StaticLocalExecutor {
/// # Examples
///
/// ```
/// use async_executor::Executor;
/// use async_executor::LocalExecutor;
/// use futures_lite::future;
///
/// let ex = LocalExecutor::new().leak();
Expand All @@ -392,7 +392,7 @@ impl StaticLocalExecutor {
/// # Examples
///
/// ```
/// use async_executor::Executor;
/// use async_executor::LocalExecutor;
/// use futures_lite::future;
///
/// let ex = LocalExecutor::new().leak();
Expand Down

0 comments on commit 0088189

Please sign in to comment.