Skip to content

Commit 5fbc57c

Browse files
committed
fix naming error
1 parent 490f2e6 commit 5fbc57c

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/async_std.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,13 +34,13 @@ pub mod re_exports {
3434

3535
/// <span class="module-item stab portability" style="display: inline; border-radius: 3px; padding: 2px; font-size: 80%; line-height: 1.2;"><code>attributes</code></span> Provides the boilerplate for the `async-std` runtime and runs an async fn as main
3636
#[cfg(feature = "attributes")]
37-
pub use pyo3_asyncio_macros_0_21::async_std_main as main;
37+
pub use pyo3_async_runtimes_macros::async_std_main as main;
3838

3939
/// <span class="module-item stab portability" style="display: inline; border-radius: 3px; padding: 2px; font-size: 80%; line-height: 1.2;"><code>attributes</code></span>
4040
/// <span class="module-item stab portability" style="display: inline; border-radius: 3px; padding: 2px; font-size: 80%; line-height: 1.2;"><code>testing</code></span>
4141
/// Registers an `async-std` test with the `pyo3-asyncio` test harness
4242
#[cfg(all(feature = "attributes", feature = "testing"))]
43-
pub use pyo3_asyncio_macros_0_21::async_std_test as test;
43+
pub use pyo3_async_runtimes_macros::async_std_test as test;
4444

4545
struct AsyncStdJoinErr(Box<dyn Any + Send + 'static>);
4646

src/tokio.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,13 +43,13 @@ pub mod re_exports {
4343

4444
/// <span class="module-item stab portability" style="display: inline; border-radius: 3px; padding: 2px; font-size: 80%; line-height: 1.2;"><code>attributes</code></span>
4545
#[cfg(feature = "attributes")]
46-
pub use pyo3_asyncio_macros_0_21::tokio_main as main;
46+
pub use pyo3_async_runtimes_macros::tokio_main as main;
4747

4848
/// <span class="module-item stab portability" style="display: inline; border-radius: 3px; padding: 2px; font-size: 80%; line-height: 1.2;"><code>attributes</code></span>
4949
/// <span class="module-item stab portability" style="display: inline; border-radius: 3px; padding: 2px; font-size: 80%; line-height: 1.2;"><code>testing</code></span>
5050
/// Registers a `tokio` test with the `pyo3-asyncio` test harness
5151
#[cfg(all(feature = "attributes", feature = "testing"))]
52-
pub use pyo3_asyncio_macros_0_21::tokio_test as test;
52+
pub use pyo3_async_runtimes_macros::tokio_test as test;
5353

5454
enum Pyo3Runtime {
5555
Borrowed(&'static Runtime),

0 commit comments

Comments
 (0)