Skip to content

Commit 7e8003e

Browse files
committed
---
yaml --- r: 174189 b: refs/heads/batch c: 7cd762a h: refs/heads/master i: 174187: 5e25360 v: v3
1 parent 0361a6a commit 7e8003e

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ refs/tags/0.12.0: f0c419429ef30723ceaf6b42f9b5a2aeb5d2e2d1
2929
refs/heads/issue-18208-method-dispatch-2: 9e1eae4fb9b6527315b4441cf8a0f5ca911d1671
3030
refs/heads/automation-fail: 1bf06495443584539b958873e04cc2f864ab10e4
3131
refs/heads/issue-18208-method-dispatch-3-quick-reject: 2009f85b9f99dedcec4404418eda9ddba90258a2
32-
refs/heads/batch: 2adc8b529ada1d697ec51a94164d9b3f66a40b79
32+
refs/heads/batch: 7cd762a9672e7d260025c2e93a74a45cd61bd291
3333
refs/heads/building: 126db549b038c84269a1e4fe46f051b2c15d6970
3434
refs/heads/beta: 44a287e6eb22ec3c2a687fc156813577464017f7
3535
refs/heads/windistfix: 7608dbad651f02e837ed05eef3d74a6662a6e928

branches/batch/src/libcore/cell.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -509,12 +509,13 @@ impl<'b, T> DerefMut for RefMut<'b, T> {
509509
///
510510
/// ```rust
511511
/// use std::cell::UnsafeCell;
512-
/// use std::marker;
512+
/// use std::marker::Sync;
513513
///
514514
/// struct NotThreadSafe<T> {
515515
/// value: UnsafeCell<T>,
516-
/// marker: marker::NoSync
517516
/// }
517+
///
518+
/// unsafe impl<T> Sync for NotThreadSafe<T> {}
518519
/// ```
519520
///
520521
/// **NOTE:** `UnsafeCell<T>` fields are public to allow static initializers. It

0 commit comments

Comments
 (0)