Skip to content

Commit bdb8f49

Browse files
committed
Fix grammar in iced_futures::maybe module
1 parent cba56ea commit bdb8f49

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

futures/src/maybe.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22
mod platform {
33
/// An extension trait that enforces `Send` only on native platforms.
44
///
5-
/// Useful to write cross-platform async code!
5+
/// Useful for writing cross-platform async code!
66
pub trait MaybeSend: Send {}
77

88
impl<T> MaybeSend for T where T: Send {}
99

1010
/// An extension trait that enforces `Sync` only on native platforms.
1111
///
12-
/// Useful to write cross-platform async code!
12+
/// Useful for writing cross-platform async code!
1313
pub trait MaybeSync: Sync {}
1414

1515
impl<T> MaybeSync for T where T: Sync {}
@@ -19,14 +19,14 @@ mod platform {
1919
mod platform {
2020
/// An extension trait that enforces `Send` only on native platforms.
2121
///
22-
/// Useful to write cross-platform async code!
22+
/// Useful for writing cross-platform async code!
2323
pub trait MaybeSend {}
2424

2525
impl<T> MaybeSend for T {}
2626

2727
/// An extension trait that enforces `Sync` only on native platforms.
2828
///
29-
/// Useful to write cross-platform async code!
29+
/// Useful for writing cross-platform async code!
3030
pub trait MaybeSync {}
3131

3232
impl<T> MaybeSync for T {}

0 commit comments

Comments
 (0)