Skip to content

Commit

Permalink
Fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
ivmarkov committed Oct 10, 2023
1 parent f21f484 commit dbeeb14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ A `no_std` drop-in replacement for [smol](https://github.com/smol-rs/smol)'s [as

**Great features carried over from [async-executor](https://github.com/smol-rs/async-executor)**:

- Futures spawned on the executor need to live only as long as the executor itself, which enables stack borrows;
- Stack borrows: futures spawned on the executor need to live only as long as the executor itself. No `F: Future + 'static` constraints;

- Completely portable and async. `Executor::run` simply returns a `Future`. Polling this future runs the executor, i.e. `block_on(executor.run(core::task:forever::<()>()))`;

Expand Down

0 comments on commit dbeeb14

Please sign in to comment.