diff options
author | Dmitry <[email protected]> | 2020-08-10 08:03:30 +0100 |
---|---|---|
committer | Dmitry <[email protected]> | 2020-08-10 08:17:45 +0100 |
commit | 4874c559ef5027da5d05c9d46450d602b1f47644 (patch) | |
tree | 913dd97be5e2c75c8ab0636c43d6b1fbe50037b2 /xtask | |
parent | 8366e3a7d59605ea2d0e681d73e8d5b48bf48e17 (diff) | |
parent | 4c6f3f68806fe4e9a0aa873fb892407cffa352d6 (diff) |
remove fmt skip attr
Diffstat (limited to 'xtask')
-rw-r--r-- | xtask/src/codegen/gen_unstable_future_descriptor.rs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/xtask/src/codegen/gen_unstable_future_descriptor.rs b/xtask/src/codegen/gen_unstable_future_descriptor.rs index 84849d3d5..fee68c365 100644 --- a/xtask/src/codegen/gen_unstable_future_descriptor.rs +++ b/xtask/src/codegen/gen_unstable_future_descriptor.rs | |||
@@ -21,7 +21,6 @@ pub fn generate_unstable_future_descriptor(mode: Mode) -> Result<()> { | |||
21 | .args(&["sparse-checkout", "set", "/src/doc/unstable-book/src/"]) | 21 | .args(&["sparse-checkout", "set", "/src/doc/unstable-book/src/"]) |
22 | .output()?; | 22 | .output()?; |
23 | Command::new("git").current_dir(path.clone()).args(&["pull", "origin", "master"]).output()?; | 23 | Command::new("git").current_dir(path.clone()).args(&["pull", "origin", "master"]).output()?; |
24 | //TODO: check git, and do pull | ||
25 | 24 | ||
26 | let src_dir = path.join("src/doc/unstable-book/src"); | 25 | let src_dir = path.join("src/doc/unstable-book/src"); |
27 | let files = WalkDir::new(src_dir.join("language-features")) | 26 | let files = WalkDir::new(src_dir.join("language-features")) |
@@ -50,7 +49,6 @@ pub fn generate_unstable_future_descriptor(mode: Mode) -> Result<()> { | |||
50 | let ts = quote! { | 49 | let ts = quote! { |
51 | use crate::completion::LintCompletion; | 50 | use crate::completion::LintCompletion; |
52 | 51 | ||
53 | #[rustfmt::skip] | ||
54 | pub const UNSTABLE_FEATURE_DESCRIPTOR: &[LintCompletion] = &[ | 52 | pub const UNSTABLE_FEATURE_DESCRIPTOR: &[LintCompletion] = &[ |
55 | #(#definitions),* | 53 | #(#definitions),* |
56 | ]; | 54 | ]; |