aboutsummaryrefslogtreecommitdiff
path: root/xtask
diff options
context:
space:
mode:
authorDmitry <[email protected]>2020-08-14 17:16:15 +0100
committerDmitry <[email protected]>2020-08-14 17:16:15 +0100
commit7f11cc42de988a9c77aa24f4df24de8171c2ea47 (patch)
tree98973cd1cd9e19c7a3123211fc9b0923e1b4def5 /xtask
parentc8a6ecc075f5198a0b197d5d99afa517d4a9818d (diff)
parent782238d2a90529debfd38bb9d1d8f38f3ebcb159 (diff)
Merge branch 'master' of https://github.com/Fihtangolz/rust-analyzer into master
Diffstat (limited to 'xtask')
-rw-r--r--xtask/src/codegen/gen_unstable_future_descriptor.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/xtask/src/codegen/gen_unstable_future_descriptor.rs b/xtask/src/codegen/gen_unstable_future_descriptor.rs
index fee68c365..56065f17d 100644
--- a/xtask/src/codegen/gen_unstable_future_descriptor.rs
+++ b/xtask/src/codegen/gen_unstable_future_descriptor.rs
@@ -30,7 +30,7 @@ pub fn generate_unstable_future_descriptor(mode: Mode) -> Result<()> {
30 .filter(|entry| { 30 .filter(|entry| {
31 // Get all `.md ` files 31 // Get all `.md ` files
32 entry.file_type().is_file() 32 entry.file_type().is_file()
33 && entry.path().extension().map(|ext| ext == "md").unwrap_or(false) 33 && entry.path().extension().unwrap_or_default() == "md"
34 }) 34 })
35 .collect::<Vec<_>>(); 35 .collect::<Vec<_>>();
36 36