Skip to content

Commit bd43284

Browse files
committed
---
yaml --- r: 236428 b: refs/heads/auto c: 06812c2 h: refs/heads/master v: v3
1 parent 355f3b7 commit bd43284

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
@@ -8,7 +8,7 @@ refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503
88
refs/tags/release-0.3.1: 495bae036dfe5ec6ceafd3312b4dca48741e845b
99
refs/tags/release-0.4: e828ea2080499553b97dfe33b3f4d472b4562ad7
1010
refs/tags/release-0.5: 7e3bcfbf21278251ee936ad53e92e9b719702d73
11-
refs/heads/auto: 8f51c8d687cb6fd7e98f68b93f40445ecd4690fa
11+
refs/heads/auto: 06812c29991d1b4bd43feef1deb4fb8ad0cf404f
1212
refs/tags/release-0.6: b4ebcfa1812664df5e142f0134a5faea3918544c
1313
refs/tags/0.1: b19db808c2793fe2976759b85a355c3ad8c8b336
1414
refs/tags/0.2: 1754d02027f2924bed83b0160ee340c7f41d5ea1

branches/auto/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/auto/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)