diff options
| author | frozolotl <44589151+frozolotl@users.noreply.github.com> | 2024-03-22 13:35:02 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2024-05-16 13:00:56 +0200 |
| commit | 15d01c49f5b6796605204d334084f71a995156ff (patch) | |
| tree | 4b2db8e39ead57887560ed2e930ea093a799d784 /crates/typst-cli/src | |
| parent | babe44c5d674b1eb37594b908ca858fa84992b4a (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. |
