Document that &T
and &mut T
are Sync
if T
is
This commit is contained in:
parent
be8e5ba157
commit
5f50c0f7ac
@ -1362,6 +1362,7 @@ mod prim_usize {}
|
||||
/// * [`Hash`]
|
||||
/// * [`ToSocketAddrs`]
|
||||
/// * [`Send`] \(`&T` references also require <code>T: [Sync]</code>)
|
||||
/// * [`Sync`]
|
||||
///
|
||||
/// [`std::fmt`]: fmt
|
||||
/// [`Hash`]: hash::Hash
|
||||
|
@ -1362,6 +1362,7 @@ mod prim_usize {}
|
||||
/// * [`Hash`]
|
||||
/// * [`ToSocketAddrs`]
|
||||
/// * [`Send`] \(`&T` references also require <code>T: [Sync]</code>)
|
||||
/// * [`Sync`]
|
||||
///
|
||||
/// [`std::fmt`]: fmt
|
||||
/// [`Hash`]: hash::Hash
|
||||
|
Loading…
Reference in New Issue
Block a user