diff options
| author | Laurenz <laurmaedje@gmail.com> | 2025-02-24 13:28:01 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-02-24 12:28:01 +0000 |
| commit | 69c3f957051358eff961addbcae4ff02448513dc (patch) | |
| tree | 4108c418417313d084318ffecf59cab56de32cb9 /crates/typst-cli/src | |
| parent | ebe25432641a729780578a2440eaf9fb07c80e38 (diff) | |
Bump MSRV to 1.83 and Rust in CI to 1.85 (#5946)
Diffstat (limited to 'crates/typst-cli/src')
| -rw-r--r-- | crates/typst-cli/src/compile.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/typst-cli/src/compile.rs b/crates/typst-cli/src/compile.rs index 2b6a7d82..ae71e298 100644 --- a/crates/typst-cli/src/compile.rs +++ b/crates/typst-cli/src/compile.rs @@ -350,7 +350,7 @@ fn export_image( .iter() .enumerate() .filter(|(i, _)| { - config.pages.as_ref().map_or(true, |exported_page_ranges| { + config.pages.as_ref().is_none_or(|exported_page_ranges| { exported_page_ranges.includes_page_index(*i) }) }) |
