From a784814bb038847b87ea2176bca3d67f2df4394a Mon Sep 17 00:00:00 2001 From: gnzlbg Date: Sat, 10 Nov 2018 16:07:00 +0100 Subject: [PATCH] disable rustfmt wrap_comments --- library/stdarch/rustfmt.toml | 2 +- library/stdarch/stdsimd/mod.rs | 10 ++-------- 2 files changed, 3 insertions(+), 9 deletions(-) diff --git a/library/stdarch/rustfmt.toml b/library/stdarch/rustfmt.toml index 2726d162ec7c..53a46e73dba7 100644 --- a/library/stdarch/rustfmt.toml +++ b/library/stdarch/rustfmt.toml @@ -1,4 +1,4 @@ max_width = 79 -wrap_comments = true +wrap_comments = false error_on_line_overflow = false fn_args_density = "Compressed" \ No newline at end of file diff --git a/library/stdarch/stdsimd/mod.rs b/library/stdarch/stdsimd/mod.rs index f27fad084a71..b4bacb1183c4 100644 --- a/library/stdarch/stdsimd/mod.rs +++ b/library/stdarch/stdsimd/mod.rs @@ -212,10 +212,7 @@ /// AVX2 and also for the default platform. /// /// ```rust -/// # #![cfg_attr( -/// # not(dox), -/// # feature(cfg_target_feature, target_feature, stdsimd) -/// # )] +/// # #![cfg_attr(not(dox),feature(cfg_target_feature, target_feature, stdsimd))] /// # #[cfg(not(dox))] /// # #[macro_use] /// # extern crate stdsimd; @@ -256,10 +253,7 @@ /// we'll be using SSE4.1 features to implement hex encoding. /// /// ``` -/// # #![cfg_attr( -/// # not(dox), -/// # feature(cfg_target_feature, target_feature, stdsimd) -/// # )] +/// # #![cfg_attr(not(dox),feature(cfg_target_feature, target_feature, stdsimd))] /// # #![cfg_attr(not(dox), no_std)] /// # #[cfg(not(dox))] /// # extern crate std as real_std;