Clippy
This commit is contained in:
parent
1df56447de
commit
5f88c0f5ed
2 changed files with 3 additions and 4 deletions
|
|
@ -44,9 +44,8 @@ pub fn create_static_output_files(source_dir: &str) {
|
|||
}
|
||||
}
|
||||
Err(err) => {
|
||||
if err.kind() == NotFound {
|
||||
} else {
|
||||
Err(err).unwrap()
|
||||
if err.kind() != NotFound {
|
||||
panic!("Unexpected error: {}", err)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue