Skip to content

Commit

Permalink
Fix compilation for 1ac32cd on Rust 1.30
Browse files Browse the repository at this point in the history
  • Loading branch information
Finchiedev committed Dec 19, 2023
1 parent 1ac32cd commit 08a1c5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Expand Up @@ -332,7 +332,7 @@ impl fmt::Display for Error {

// Find a search path to use
let mut search_data = None;
for location in search_locations {
for location in search_locations.iter() {
if let Ok(search_path) = env::var(location) {
search_data = Some((location, search_path));
break;
Expand Down

0 comments on commit 08a1c5f

Please sign in to comment.