aboutsummaryrefslogtreecommitdiff
path: root/src/makefile/eval_context.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/makefile/eval_context.rs')
-rw-r--r--src/makefile/eval_context.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/makefile/eval_context.rs b/src/makefile/eval_context.rs
index ba5f4a0..87edafd 100644
--- a/src/makefile/eval_context.rs
+++ b/src/makefile/eval_context.rs
@@ -12,7 +12,7 @@ pub struct DeferredEvalContext<'parent, 'args, 'grandparent, R: BufRead> {
impl<'parent, 'args, 'grandparent, R: BufRead>
DeferredEvalContext<'parent, 'args, 'grandparent, R>
{
- pub fn new(parent: &'parent MakefileReader<'args, 'grandparent, R>) -> Self {
+ pub const fn new(parent: &'parent MakefileReader<'args, 'grandparent, R>) -> Self {
Self {
parent,
children: Vec::new(),