diff options
Diffstat (limited to 'crates/typst-cli/src/world.rs')
| -rw-r--r-- | crates/typst-cli/src/world.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/typst-cli/src/world.rs b/crates/typst-cli/src/world.rs index 2c0ee7d0..fb8fc0c7 100644 --- a/crates/typst-cli/src/world.rs +++ b/crates/typst-cli/src/world.rs @@ -15,7 +15,7 @@ use typst::syntax::{FileId, Source}; use typst::util::PathExt; use typst::World; -use crate::args::CompileCommand; +use crate::args::SharedArgs; use crate::fonts::{FontSearcher, FontSlot}; use crate::package::prepare_package; @@ -44,7 +44,7 @@ pub struct SystemWorld { impl SystemWorld { /// Create a new system world. - pub fn new(command: &CompileCommand) -> StrResult<Self> { + pub fn new(command: &SharedArgs) -> StrResult<Self> { let mut searcher = FontSearcher::new(); searcher.search(&command.font_paths); |
