forked from M-Labs/libfringe
that doesn't need to be mutable
This commit is contained in:
parent
b0dcc65304
commit
deb452c651
2
build.rs
2
build.rs
|
@ -9,7 +9,7 @@ fn main() {
|
|||
let mut objects = Vec::new();
|
||||
|
||||
let files = fs::readdir(&Path::new("src")).unwrap();
|
||||
let mut files = files.iter().filter(|p| p.is_file());
|
||||
let files = files.iter().filter(|p| p.is_file());
|
||||
|
||||
for file in files {
|
||||
if let Some(filename) = file.filename_str() {
|
||||
|
|
Loading…
Reference in New Issue