Skip to content

Commit 841f098

Browse files
authored
Fix typos (#93)
1 parent 20afb72 commit 841f098

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,6 @@ once_cell = "1"
3232
pin-project-lite = "0.2.10"
3333
smol = "2"
3434

35-
# rewrite dependencies to use the this version of async-task when running tests
35+
# rewrite dependencies to use this version of async-task when running tests
3636
[patch.crates-io]
3737
async-task = { path = "." }

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ let (sender, receiver) = flume::unbounded();
2222
```
2323

2424
A task is created using either `spawn()`, `spawn_local()`, or `spawn_unchecked()` which
25-
return a `Runnable` and a `Task`:
25+
returns a `Runnable` and a `Task`:
2626

2727
```rust
2828
// A future that will be spawned.

src/header.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ use crate::utils::abort_on_panic;
1515

1616
/// Actions to take upon calling [`Header::drop_waker`].
1717
pub(crate) enum DropWakerAction {
18-
/// Re-schedule the task
18+
/// Re-schedule the task.
1919
Schedule,
2020
/// Destroy the task.
2121
Destroy,

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
//! ```
2121
//!
2222
//! A task is created using either [`spawn()`], [`spawn_local()`], or [`spawn_unchecked()`] which
23-
//! return a [`Runnable`] and a [`Task`]:
23+
//! returns a [`Runnable`] and a [`Task`]:
2424
//!
2525
//! ```
2626
//! # let (sender, receiver) = flume::unbounded();

src/raw.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ impl<F, T, S, M> RawTask<F, T, S, M> {
110110
let align_union = max(layout_f.align(), layout_r.align());
111111
let layout_union = Layout::from_size_align(size_union, align_union);
112112

113-
// Compute the layout for `Header` followed `S` and `union { F, T }`.
113+
// Compute the layout for `Header` followed by `S` and `union { F, T }`.
114114
let layout = layout_header;
115115
let (layout, offset_s) = leap_unwrap!(layout.extend(layout_s));
116116
let (layout, offset_union) = leap_unwrap!(layout.extend(layout_union));

0 commit comments

Comments
 (0)