Skip to content

Commit 1da3d50

Browse files
committed
Make a cosmetic adjustment
1 parent b34348b commit 1da3d50

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

build.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,7 @@ fn rename(directory: &Path, name: &str, suffix: &str) {
4747
for entry in fs::read_dir(directory).unwrap() {
4848
let path = entry.unwrap().path();
4949
let stem = path.file_stem().unwrap().to_str().unwrap();
50-
if !stem.starts_with("lib") {
51-
continue;
52-
}
53-
if &stem[3..] != name {
50+
if !stem.starts_with("lib") || &stem[3..] != name {
5451
continue;
5552
}
5653
let mut new_path = path.clone();

0 commit comments

Comments
 (0)