Skip to content

Commit 943994b

Browse files
committed
Don't ignore errors in the test suite.
1 parent dd302da commit 943994b

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

libbindgen/build.rs

+4-3
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,14 @@ mod testgen {
3838
.replace(|c| !char::is_alphanumeric(c), "_")
3939
.replace("__", "_")
4040
.to_lowercase();
41-
let _ = writeln!(dst, "test_header!(header_{}, {:?});",
42-
func, entry.path());
41+
writeln!(dst, "test_header!(header_{}, {:?});",
42+
func, entry.path()).unwrap();
4343
}
4444
_ => {}
4545
}
4646
}
47-
let _ = dst.flush();
47+
48+
dst.flush().unwrap();
4849
}
4950
}
5051

0 commit comments

Comments
 (0)