We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a573305 commit 35a03c8Copy full SHA for 35a03c8
src/tools/tidy/src/unstable_book.rs
@@ -60,6 +60,7 @@ pub fn collect_unstable_book_section_file_names(dir: &path::Path) -> BTreeSet<St
60
.map(|entry| entry.expect("could not read directory entry"))
61
.filter(dir_entry_is_file)
62
.map(|entry| entry.file_name().into_string().unwrap())
63
+ .filter(|n| n.ends_with(".md"))
64
.map(|n| n.trim_right_matches(".md").to_owned())
65
.collect()
66
}
0 commit comments