diff options
| author | frozolotl <44589151+frozolotl@users.noreply.github.com> | 2024-03-22 13:35:02 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-03-22 12:35:02 +0000 |
| commit | 0a917aba984a13b50178e1bfcc84c42fa2084814 (patch) | |
| tree | 92579ab651655b4e2ed2e63308faec459337cdfc /crates/typst-cli/src | |
| parent | 41db766b83bad4c4671423c03c5e54f308032e7b (diff) | |
Fix warnings introduced by rust 1.77 (#3754)
Diffstat (limited to 'crates/typst-cli/src')
| -rw-r--r-- | crates/typst-cli/src/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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<ExitCode> = Cell::new(ExitCode::SUCCESS); + static EXIT: Cell<ExitCode> = const { Cell::new(ExitCode::SUCCESS) }; } /// The parsed commandline arguments. |
