about summary refs log tree commit diff
path: root/src/liballoc
diff options
context:
space:
mode:
authorMarcel Hellwig <git@cookiesoft.de>2019-02-23 22:40:56 +0100
committerMarcel Hellwig <git@cookiesoft.de>2019-02-23 22:40:56 +0100
commit6464a0baf98b54184751263b0bbf7404cb1d234b (patch)
treecb66853a82aba0bf4a4cc7679846b6668e1661eb /src/liballoc
parent082c86175fcf72c355e6a889956fbea59e65bcdb (diff)
downloadrust-6464a0baf98b54184751263b0bbf7404cb1d234b.tar.gz
rust-6464a0baf98b54184751263b0bbf7404cb1d234b.zip
replace deprecated rustfmt_skip with rustfmt::skip
Diffstat (limited to 'src/liballoc')
-rw-r--r--src/liballoc/boxed.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/liballoc/boxed.rs b/src/liballoc/boxed.rs
index 0cd2373c7f0..f1d5f2f28a0 100644
--- a/src/liballoc/boxed.rs
+++ b/src/liballoc/boxed.rs
@@ -316,7 +316,7 @@ impl<T: Clone> Clone for Box<T> {
     /// let x = Box::new(5);
     /// let y = x.clone();
     /// ```
-    #[rustfmt_skip]
+    #[rustfmt::skip]
     #[inline]
     fn clone(&self) -> Box<T> {
         box { (**self).clone() }