Skip to content

Commit 08a1c5f

Browse files
committed
Fix compilation for 1ac32cd on Rust 1.30
1 parent 1ac32cd commit 08a1c5f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,7 @@ impl fmt::Display for Error {
332332

333333
// Find a search path to use
334334
let mut search_data = None;
335-
for location in search_locations {
335+
for location in search_locations.iter() {
336336
if let Ok(search_path) = env::var(location) {
337337
search_data = Some((location, search_path));
338338
break;

0 commit comments

Comments
 (0)