Skip to content

Commit 1e4361a

Browse files
authored
Rollup merge of rust-lang#110060 - WaffleLapkin:sync_refs, r=jyn514
Document that `&T` and `&mut T` are `Sync` if `T` is Proof: https://play.rust-lang.org/?version=stable&mode=debug&edition=2021&gist=fec8dc9ec36e873bf2962a2367d67045
2 parents ec1712f + 5f50c0f commit 1e4361a

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

library/core/src/primitive_docs.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1362,6 +1362,7 @@ mod prim_usize {}
13621362
/// * [`Hash`]
13631363
/// * [`ToSocketAddrs`]
13641364
/// * [`Send`] \(`&T` references also require <code>T: [Sync]</code>)
1365+
/// * [`Sync`]
13651366
///
13661367
/// [`std::fmt`]: fmt
13671368
/// [`Hash`]: hash::Hash

library/std/src/primitive_docs.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1362,6 +1362,7 @@ mod prim_usize {}
13621362
/// * [`Hash`]
13631363
/// * [`ToSocketAddrs`]
13641364
/// * [`Send`] \(`&T` references also require <code>T: [Sync]</code>)
1365+
/// * [`Sync`]
13651366
///
13661367
/// [`std::fmt`]: fmt
13671368
/// [`Hash`]: hash::Hash

0 commit comments

Comments
 (0)