aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/makefile/mod.rs6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/makefile/mod.rs b/src/makefile/mod.rs
index 24996a8..1f0b8a2 100644
--- a/src/makefile/mod.rs
+++ b/src/makefile/mod.rs
@@ -348,7 +348,11 @@ impl fmt::Display for Makefile<'_> {
writeln!(f, "{}\n{:=^width$}", t, "", width = t.len())
};
header(f, "Inference Rules")?;
- for rule in &self.inference_rules {
+ for rule in self
+ .inference_rules
+ .iter()
+ .chain(self.builtin_inference_rules.iter())
+ {
writeln!(f, "{}", rule)?;
}
writeln!(f)?;