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/command_line.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/makefile/command_line.rs') diff --git a/src/makefile/command_line.rs b/src/makefile/command_line.rs index 52693e0..c75c854 100644 --- a/src/makefile/command_line.rs +++ b/src/makefile/command_line.rs @@ -46,7 +46,7 @@ pub struct CommandLine { } impl CommandLine { - pub fn from(line: TokenString) -> Self { + pub const fn from(line: TokenString) -> Self { Self { execution_line: line, } -- cgit v1.2.3