remove fmt skip attr

This commit is contained in:
Dmitry 2020-08-10 14:03:30 +07:00
commit 4874c559ef
2 changed files with 1 additions and 3 deletions

File diff suppressed because one or more lines are too long

View file

@ -21,7 +21,6 @@ pub fn generate_unstable_future_descriptor(mode: Mode) -> Result<()> {
.args(&["sparse-checkout", "set", "/src/doc/unstable-book/src/"])
.output()?;
Command::new("git").current_dir(path.clone()).args(&["pull", "origin", "master"]).output()?;
//TODO: check git, and do pull
let src_dir = path.join("src/doc/unstable-book/src");
let files = WalkDir::new(src_dir.join("language-features"))
@ -50,7 +49,6 @@ pub fn generate_unstable_future_descriptor(mode: Mode) -> Result<()> {
let ts = quote! {
use crate::completion::LintCompletion;
#[rustfmt::skip]
pub const UNSTABLE_FEATURE_DESCRIPTOR: &[LintCompletion] = &[
#(#definitions),*
];