We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8f51c8d commit 06812c2Copy full SHA for 06812c2
src/liballoc/arc.rs
@@ -585,7 +585,9 @@ impl<T: ?Sized> Drop for Arc<T> {
585
// [1]: (www.boost.org/doc/libs/1_55_0/doc/html/atomic/usage_examples.html)
586
atomic::fence(Acquire);
587
588
- unsafe { self.drop_slow() }
+ unsafe {
589
+ self.drop_slow();
590
+ }
591
}
592
593
src/liballoc/boxed.rs
@@ -284,11 +284,10 @@ impl<T: Clone> Clone for Box<T> {
284
/// let x = Box::new(5);
285
/// let y = x.clone();
286
/// ```
287
+ #[rustfmt_skip]
288
#[inline]
289
fn clone(&self) -> Box<T> {
- box {
290
- (**self).clone()
291
- }
+ box { (**self).clone() }
292
293
/// Copies `source`'s contents into `self` without creating a new allocation.
294
///
0 commit comments