mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-25 12:33:33 +00:00
Merge branch 'master' of https://github.com/Fihtangolz/rust-analyzer into master
This commit is contained in:
commit
7f11cc42de
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@ pub fn generate_unstable_future_descriptor(mode: Mode) -> Result<()> {
|
|||
.filter(|entry| {
|
||||
// Get all `.md ` files
|
||||
entry.file_type().is_file()
|
||||
&& entry.path().extension().map(|ext| ext == "md").unwrap_or(false)
|
||||
&& entry.path().extension().unwrap_or_default() == "md"
|
||||
})
|
||||
.collect::<Vec<_>>();
|
||||
|
||||
|
|
Loading…
Reference in a new issue