diff options
| author | Laurenz <laurmaedje@gmail.com> | 2021-08-16 14:33:32 +0200 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2021-08-16 14:40:02 +0200 |
| commit | ba6b91e2ee9dfa729d21879f27773de7c7731cfe (patch) | |
| tree | 1ad97aba9a51582d245fc34cc6b3a94be762e2b7 /src/lib.rs | |
| parent | 7e6e7e928c5208cc26b62774e3fbc8dda82f10b6 (diff) | |
Editable source files
Diffstat (limited to 'src/lib.rs')
| -rw-r--r-- | src/lib.rs | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -50,7 +50,7 @@ pub mod util; use std::rc::Rc; use crate::diag::TypResult; -use crate::eval::{ModuleCache, Scope}; +use crate::eval::Scope; use crate::exec::State; use crate::font::FontStore; use crate::image::ImageStore; @@ -70,8 +70,6 @@ pub struct Context { pub fonts: FontStore, /// Stores decoded images. pub images: ImageStore, - /// Caches evaluated modules. - pub modules: ModuleCache, /// Caches layouting artifacts. #[cfg(feature = "layout-cache")] pub layouts: LayoutCache, @@ -144,7 +142,6 @@ impl ContextBuilder { fonts: FontStore::new(Rc::clone(&loader)), images: ImageStore::new(Rc::clone(&loader)), loader, - modules: ModuleCache::new(), #[cfg(feature = "layout-cache")] layouts: LayoutCache::new(), std: self.std.unwrap_or(library::new()), |
