Files should be split by newline

This commit is contained in:
Jake Howard 2017-09-10 19:27:51 +01:00
parent c3e13888d0
commit 811f81bb40
Signed by: jake
GPG key ID: 57AFB45680EDD477

View file

@ -15,6 +15,7 @@ pub fn read_input_files(files: Vec<PathBuf>) -> Result<String, String> {
input_file.read_to_string(&mut input),
format!("Failed to read input file {}.", input_file_path.display())
));
input.push('\n');
}
return Ok(input);
}