Skip to content

Commit

Permalink
Fix grammar in iced_futures::maybe module
Browse files Browse the repository at this point in the history
  • Loading branch information
hecrj committed Jan 18, 2024
1 parent cba56ea commit fda8522
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions futures/src/maybe.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {}
Expand All @@ -26,7 +26,7 @@ mod platform {

/// 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 {}
Expand Down

0 comments on commit fda8522

Please sign in to comment.