File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -17,11 +17,11 @@ use core::task::{Context, Poll};
1717/// While this may seem not very useful, it allows `SyncView` to _unconditionally_
1818/// implement `Sync`. Indeed, the safety requirements of `Sync` state that for `SyncView`
1919/// to be `Sync`, it must be sound to _share_ across threads, that is, it must be sound
20- /// for `&SyncView` to cross thread boundaries. By design, a `&SyncView<T>` for non-`Sync` T
21- /// has no API whatsoever, making it useless, thus harmless, thus memory safe.
20+ /// for `&SyncView` to cross thread boundaries. By design, a `&SyncView<T>` for non-`Sync`
21+ /// `T` has no API whatsoever, making it useless, thus harmless, thus memory safe.
2222///
2323/// Certain constructs like [`Future`]s can only be used with _exclusive_ access,
24- /// and are often `Send` but not `Sync`, so `SyncView` can be used as hint to the
24+ /// and are often [ `Send`] but not `Sync`, so `SyncView` can be used as hint to the
2525/// Rust compiler that something is `Sync` in practice.
2626///
2727/// ## Examples
You can’t perform that action at this time.
0 commit comments