This commit is contained in:
Dmitry 2020-08-14 23:16:15 +07:00
commit 7f11cc42de

View file

@ -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<_>>();