Fix typo Send -> Sync
This commit is contained in:
parent
74a6e58cbc
commit
cba56ea768
1 changed files with 1 additions and 1 deletions
|
|
@ -24,7 +24,7 @@ mod platform {
|
||||||
|
|
||||||
impl<T> MaybeSend for T {}
|
impl<T> MaybeSend for T {}
|
||||||
|
|
||||||
/// An extension trait that enforces `Send` only on native platforms.
|
/// An extension trait that enforces `Sync` only on native platforms.
|
||||||
///
|
///
|
||||||
/// Useful to write cross-platform async code!
|
/// Useful to write cross-platform async code!
|
||||||
pub trait MaybeSync {}
|
pub trait MaybeSync {}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue