Skip to content

Commit 90ba835

Browse files
committed
fix workspace lint error
1 parent 85e8443 commit 90ba835

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

build.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,9 @@ fn collect_rust_files(dir: &Path) -> Vec<PathBuf> {
7575
let mut rust_files = Vec::new();
7676

7777
for entry in WalkDir::new(dir) {
78-
let entry = entry.unwrap();
78+
let Ok(entry) = entry else {
79+
continue;
80+
};
7981
let path = entry.path();
8082

8183
// Skip any path that contains "target" directory

0 commit comments

Comments
 (0)