Document that &T and &mut T are Sync if T is

This commit is contained in:
Maybe Waffle 2023-04-07 18:36:48 +00:00
parent be8e5ba157
commit 5f50c0f7ac
2 changed files with 2 additions and 0 deletions

View File

@ -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

View File

@ -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