Skip to content

Commit 6fd5194

Browse files
authored
docs: fix incorrect migration path for poll_once in docs (#1151)
1 parent 30cf456 commit 6fd5194

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

content/learn/migration-guides/0.12-to-0.13.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1333,11 +1333,11 @@ bevy = "0.12.0"
13331333
- futures-lite = "1.4.0"
13341334
```
13351335

1336-
- Replace `futures_lite` imports with `bevy::tasks::future`.
1336+
- Replace `futures_lite` imports with `bevy::tasks::futures_lite`.
13371337

13381338
```diff
1339-
- use futures_lite::poll_once;
1340-
+ use bevy::tasks::future::poll_once;
1339+
- use futures_lite::future::poll_once;
1340+
+ use bevy::tasks::futures_lite::future::poll_once;
13411341
```
13421342

13431343
### [Rename `TextAlignment` to `JustifyText`.](https://github.com/bevyengine/bevy/pull/10854)

0 commit comments

Comments
 (0)