From 5aa6e1122830611dccc2eab9b7f4a53a10056111 Mon Sep 17 00:00:00 2001 From: Melody Horn Date: Mon, 11 Nov 2024 12:29:28 -0700 Subject: ok clippy --- src/makefile/eval_context.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/makefile/eval_context.rs') 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(), -- cgit v1.2.3