summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--futures/src/maybe.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/futures/src/maybe.rs b/futures/src/maybe.rs
index c564a739..c6a507c1 100644
--- a/futures/src/maybe.rs
+++ b/futures/src/maybe.rs
@@ -2,14 +2,14 @@
mod platform {
/// An extension trait that enforces `Send` only on native platforms.
///
- /// Useful to write cross-platform async code!
+ /// Useful for writing cross-platform async code!
pub trait MaybeSend: Send {}
impl<T> MaybeSend for T where T: Send {}
/// An extension trait that enforces `Sync` only on native platforms.
///
- /// Useful to write cross-platform async code!
+ /// Useful for writing cross-platform async code!
pub trait MaybeSync: Sync {}
impl<T> MaybeSync for T where T: Sync {}
@@ -19,14 +19,14 @@ mod platform {
mod platform {
/// An extension trait that enforces `Send` only on native platforms.
///
- /// Useful to write cross-platform async code!
+ /// Useful for writing cross-platform async code!
pub trait MaybeSend {}
impl<T> MaybeSend for T {}
/// An extension trait that enforces `Sync` only on native platforms.
///
- /// Useful to write cross-platform async code!
+ /// Useful for writing cross-platform async code!
pub trait MaybeSync {}
impl<T> MaybeSync for T {}