2
0
Fork 1
mirror of https://github.com/async-rs/async-std.git synced 2025-02-06 12:45:32 +00:00

Fix typos

This commit is contained in:
John Vandenberg 2024-08-20 08:03:49 +08:00
parent b7be2183d5
commit 0633c94c7b
2 changed files with 3 additions and 3 deletions

View file

@ -686,9 +686,9 @@ use async_std::prelude::*;
use async_std::task;
task::spawn(async {
let x = fibonnacci(1000); // Do expensive work
let x = fibonacci(1000); // Do expensive work
task::yield_now().await; // Allow other tasks to run
x + fibonnacci(100) // Do more work
x + fibonacci(100) // Do more work
})
```

View file

@ -42,7 +42,7 @@ pin_project! {
///
/// This stream is constructed by [`successors`] function
///
/// [`successors`]: fn.succssors.html
/// [`successors`]: fn.successors.html
#[cfg(feature = "unstable")]
#[cfg_attr(feature = "docs", doc(cfg(unstable)))]
#[derive(Debug)]