that doesn't need to be mutable

master
edef 2015-03-03 01:53:35 -05:00
parent b0dcc65304
commit deb452c651
1 changed files with 1 additions and 1 deletions

View File

@ -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() {