Skip to content

Commit 529c93c

Browse files
committed
---
yaml --- r: 236552 b: refs/heads/tmp c: 06812c2 h: refs/heads/master v: v3
1 parent e120579 commit 529c93c

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ refs/tags/0.11.0: e1247cb1d0d681be034adb4b558b5a0c0d5720f9
2525
refs/tags/0.12.0: f0c419429ef30723ceaf6b42f9b5a2aeb5d2e2d1
2626
refs/heads/beta: d2e13e822a73e0ea46ae9e21afdd3155fc997f6d
2727
refs/tags/1.0.0-alpha: e42bd6d93a1d3433c486200587f8f9e12590a4d7
28-
refs/heads/tmp: 8f51c8d687cb6fd7e98f68b93f40445ecd4690fa
28+
refs/heads/tmp: 06812c29991d1b4bd43feef1deb4fb8ad0cf404f
2929
refs/tags/1.0.0-alpha.2: 4c705f6bc559886632d3871b04f58aab093bfa2f
3030
refs/tags/homu-tmp: f859507de8c410b648d934d8f5ec1c52daac971d
3131
refs/tags/1.0.0-beta: 8cbb92b53468ee2b0c2d3eeb8567005953d40828

branches/tmp/src/liballoc/arc.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -585,7 +585,9 @@ impl<T: ?Sized> Drop for Arc<T> {
585585
// [1]: (www.boost.org/doc/libs/1_55_0/doc/html/atomic/usage_examples.html)
586586
atomic::fence(Acquire);
587587

588-
unsafe { self.drop_slow() }
588+
unsafe {
589+
self.drop_slow();
590+
}
589591
}
590592
}
591593

branches/tmp/src/liballoc/boxed.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -284,11 +284,10 @@ impl<T: Clone> Clone for Box<T> {
284284
/// let x = Box::new(5);
285285
/// let y = x.clone();
286286
/// ```
287+
#[rustfmt_skip]
287288
#[inline]
288289
fn clone(&self) -> Box<T> {
289-
box {
290-
(**self).clone()
291-
}
290+
box { (**self).clone() }
292291
}
293292
/// Copies `source`'s contents into `self` without creating a new allocation.
294293
///

0 commit comments

Comments
 (0)