Skip to content

Commit bf79070

Browse files
committed
---
yaml --- r: 42013 b: refs/heads/master c: 265b33c h: refs/heads/master i: 42011: 4307551 v: v3
1 parent 70744a6 commit bf79070

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: d753ad4ee44cbcf39868b8d5738fe4ffc88acaf2
2+
refs/heads/master: 265b33c239996930627c21400416328dcce46239
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 2f46b763da2c098913884f101b6d71d69af41b49
55
refs/heads/try: 3d5418789064fdb463e872a4e651af1c628a3650

trunk/src/libstd/arc.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ pub fn clone<T: Const Owned>(rc: &ARC<T>) -> ARC<T> {
114114
* unwrap from a task that holds another reference to the same ARC; it is
115115
* guaranteed to deadlock.
116116
*/
117-
fn unwrap<T: Const Owned>(rc: ARC<T>) -> T {
117+
pub fn unwrap<T: Const Owned>(rc: ARC<T>) -> T {
118118
let ARC { x: x } = move rc;
119119
unsafe { unwrap_shared_mutable_state(move x) }
120120
}

0 commit comments

Comments
 (0)