mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-30 22:01:37 +00:00
remove fmt skip attr
This commit is contained in:
commit
4874c559ef
2 changed files with 1 additions and 3 deletions
File diff suppressed because one or more lines are too long
|
@ -21,7 +21,6 @@ pub fn generate_unstable_future_descriptor(mode: Mode) -> Result<()> {
|
||||||
.args(&["sparse-checkout", "set", "/src/doc/unstable-book/src/"])
|
.args(&["sparse-checkout", "set", "/src/doc/unstable-book/src/"])
|
||||||
.output()?;
|
.output()?;
|
||||||
Command::new("git").current_dir(path.clone()).args(&["pull", "origin", "master"]).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 src_dir = path.join("src/doc/unstable-book/src");
|
||||||
let files = WalkDir::new(src_dir.join("language-features"))
|
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! {
|
let ts = quote! {
|
||||||
use crate::completion::LintCompletion;
|
use crate::completion::LintCompletion;
|
||||||
|
|
||||||
#[rustfmt::skip]
|
|
||||||
pub const UNSTABLE_FEATURE_DESCRIPTOR: &[LintCompletion] = &[
|
pub const UNSTABLE_FEATURE_DESCRIPTOR: &[LintCompletion] = &[
|
||||||
#(#definitions),*
|
#(#definitions),*
|
||||||
];
|
];
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue