Aleksey Kladov
2021-01-21 16:37:08 +03:00
parent 64a92e2328
commit feb252138d
5 changed files with 10 additions and 6 deletions

View File

@@ -26,7 +26,7 @@ struct Feature {
impl Feature {
fn collect() -> Result<Vec<Feature>> {
let mut res = Vec::new();
for path in rust_files(&project_root()) {
for path in rust_files() {
collect_file(&mut res, path)?;
}
res.sort_by(|lhs, rhs| lhs.id.cmp(&rhs.id));