File tree Expand file tree Collapse file tree 3 files changed +6
-5
lines changed
branches/tmp/src/liballoc Expand file tree Collapse file tree 3 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ refs/tags/0.11.0: e1247cb1d0d681be034adb4b558b5a0c0d5720f9
25
25
refs/tags/0.12.0: f0c419429ef30723ceaf6b42f9b5a2aeb5d2e2d1
26
26
refs/heads/beta: d2e13e822a73e0ea46ae9e21afdd3155fc997f6d
27
27
refs/tags/1.0.0-alpha: e42bd6d93a1d3433c486200587f8f9e12590a4d7
28
- refs/heads/tmp: 8f51c8d687cb6fd7e98f68b93f40445ecd4690fa
28
+ refs/heads/tmp: 06812c29991d1b4bd43feef1deb4fb8ad0cf404f
29
29
refs/tags/1.0.0-alpha.2: 4c705f6bc559886632d3871b04f58aab093bfa2f
30
30
refs/tags/homu-tmp: f859507de8c410b648d934d8f5ec1c52daac971d
31
31
refs/tags/1.0.0-beta: 8cbb92b53468ee2b0c2d3eeb8567005953d40828
Original file line number Diff line number Diff line change @@ -585,7 +585,9 @@ impl<T: ?Sized> Drop for Arc<T> {
585
585
// [1]: (www.boost.org/doc/libs/1_55_0/doc/html/atomic/usage_examples.html)
586
586
atomic:: fence ( Acquire ) ;
587
587
588
- unsafe { self . drop_slow ( ) }
588
+ unsafe {
589
+ self . drop_slow ( ) ;
590
+ }
589
591
}
590
592
}
591
593
Original file line number Diff line number Diff line change @@ -284,11 +284,10 @@ impl<T: Clone> Clone for Box<T> {
284
284
/// let x = Box::new(5);
285
285
/// let y = x.clone();
286
286
/// ```
287
+ #[ rustfmt_skip]
287
288
#[ inline]
288
289
fn clone ( & self ) -> Box < T > {
289
- box {
290
- ( * * self ) . clone ( )
291
- }
290
+ box { ( * * self ) . clone ( ) }
292
291
}
293
292
/// Copies `source`'s contents into `self` without creating a new allocation.
294
293
///
You can’t perform that action at this time.
0 commit comments