summaryrefslogtreecommitdiff
path: root/src/liballoc
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2019-02-25 03:18:03 +0100
committerGitHub <noreply@github.com>2019-02-25 03:18:03 +0100
commited73ec0e4cf1dbe11685f1311683d6fd31b7196f (patch)
treec51e775a19a59d75017e316ef1a417a444cdb4f2 /src/liballoc
parent4f8ae0abdb32d3079cf7edce47461679d702c1f2 (diff)
parent6464a0baf98b54184751263b0bbf7404cb1d234b (diff)
downloadrust-ed73ec0e4cf1dbe11685f1311683d6fd31b7196f.tar.gz
Rollup merge of #58686 - hellow554:rustfmt_depr, r=cramertj
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 e99ae6315f8..74325a69e15 100644
--- a/src/liballoc/boxed.rs
+++ b/src/liballoc/boxed.rs
@@ -326,7 +326,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() }