From 0a917aba984a13b50178e1bfcc84c42fa2084814 Mon Sep 17 00:00:00 2001 From: frozolotl <44589151+frozolotl@users.noreply.github.com> Date: Fri, 22 Mar 2024 13:35:02 +0100 Subject: Fix warnings introduced by rust 1.77 (#3754) --- crates/typst-cli/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crates/typst-cli/src') diff --git a/crates/typst-cli/src/main.rs b/crates/typst-cli/src/main.rs index da0a57fd..c8bd3914 100644 --- a/crates/typst-cli/src/main.rs +++ b/crates/typst-cli/src/main.rs @@ -26,7 +26,7 @@ use crate::timings::Timer; thread_local! { /// The CLI's exit code. - static EXIT: Cell = Cell::new(ExitCode::SUCCESS); + static EXIT: Cell = const { Cell::new(ExitCode::SUCCESS) }; } /// The parsed commandline arguments. -- cgit v1.2.3