File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 1
1
---
2
- refs/heads/master: def2232595a68897cbaa1d3dc0820da5fe56f429
2
+ refs/heads/master: 2e8bc9924c096cb8f889d3f46ecce7ebe622b964
3
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
4
refs/heads/snap-stage3: ec0258a381b88b5574e3f8ce72ae553ac3a574b7
5
5
refs/heads/try: 7c6c492fb2af9a85f21ff952942df3523b22fd17
Original file line number Diff line number Diff line change @@ -160,7 +160,8 @@ impl<T: Send + Share + Clone> Arc<T> {
160
160
// reference count is guaranteed to be 1 at this point, and we required
161
161
// the Arc itself to be `mut`, so we're returning the only possible
162
162
// reference to the inner data.
163
- unsafe { mem:: transmute :: < & _ , & mut _ > ( self . deref ( ) ) }
163
+ let inner = unsafe { & mut * self . _ptr } ;
164
+ & mut inner. data
164
165
}
165
166
}
166
167
You can’t perform that action at this time.
0 commit comments