File tree Expand file tree Collapse file tree 2 files changed +5
-7
lines changed
branches/try/src/libstd/sync/mpsc Expand file tree Collapse file tree 2 files changed +5
-7
lines changed Original file line number Diff line number Diff line change 2
2
refs/heads/master: 3e561f05c00cd180ec02db4ccab2840a4aba93d2
3
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
4
refs/heads/snap-stage3: ba0e1cd8147d452c356aacb29fb87568ca26f111
5
- refs/heads/try: 04ab4a34719979d7f17b4c0df82ac8dbf08af1ad
5
+ refs/heads/try: d416fc1d40e39661153b2183726f7e71f51d24e3
6
6
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
7
7
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d
8
8
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
Original file line number Diff line number Diff line change @@ -80,12 +80,10 @@ unsafe impl<T: Send> Sync for Queue<T> { }
80
80
81
81
impl < T > Node < T > {
82
82
fn new ( ) -> * mut Node < T > {
83
- unsafe {
84
- boxed:: into_raw ( box Node {
85
- value : None ,
86
- next : AtomicPtr :: new ( ptr:: null_mut :: < Node < T > > ( ) ) ,
87
- } )
88
- }
83
+ boxed:: into_raw ( box Node {
84
+ value : None ,
85
+ next : AtomicPtr :: new ( ptr:: null_mut :: < Node < T > > ( ) ) ,
86
+ } )
89
87
}
90
88
}
91
89
You can’t perform that action at this time.
0 commit comments