Skip to content

Commit 77b57a4

Browse files
committed
---
yaml --- r: 236306 b: refs/heads/master c: 06812c2 h: refs/heads/master v: v3
1 parent a54d821 commit 77b57a4

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
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: 8f51c8d687cb6fd7e98f68b93f40445ecd4690fa
2+
refs/heads/master: 06812c29991d1b4bd43feef1deb4fb8ad0cf404f
33
refs/heads/snap-stage3: 1af31d4974e33027a68126fa5a5a3c2c6491824f
44
refs/heads/try: ea3892f76a2180dd4ce724f1dafd9186959702d9
55
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105

trunk/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

trunk/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)