aboutsummaryrefslogtreecommitdiff
path: root/src/makefile/inference_rules.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/makefile/inference_rules.rs')
-rw-r--r--src/makefile/inference_rules.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/makefile/inference_rules.rs b/src/makefile/inference_rules.rs
index 397008b..3d18730 100644
--- a/src/makefile/inference_rules.rs
+++ b/src/makefile/inference_rules.rs
@@ -3,12 +3,12 @@ use std::fmt;
use crate::makefile::command_line::CommandLine;
#[derive(PartialEq, Eq, Clone, Debug)]
-pub(crate) struct InferenceRule {
+pub struct InferenceRule {
/// POSIX calls this ".s1" but that's not useful.
- pub(crate) product: String,
+ pub product: String,
/// POSIX calls this ".s2" but that's not useful.
- pub(crate) prereq: String,
- pub(crate) commands: Vec<CommandLine>,
+ pub prereq: String,
+ pub commands: Vec<CommandLine>,
}
impl fmt::Display for InferenceRule {