From 712c00ecb72b67da2c0788e5d3eb4dcc6366b2a7 Mon Sep 17 00:00:00 2001 From: Laurenz Date: Fri, 8 Apr 2022 15:08:26 +0200 Subject: Em units --- src/lib.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/lib.rs') diff --git a/src/lib.rs b/src/lib.rs index cb434e62..6dc52b67 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -34,13 +34,14 @@ #[macro_use] pub mod util; #[macro_use] +pub mod geom; +#[macro_use] pub mod diag; #[macro_use] pub mod eval; pub mod export; pub mod font; pub mod frame; -pub mod geom; pub mod image; pub mod library; pub mod loading; @@ -163,7 +164,7 @@ impl Context { /// Resolve a user-entered path (relative to the current evaluation /// location) to be relative to the compilation environment's root. - pub fn resolve(&self, path: &str) -> PathBuf { + pub fn complete_path(&self, path: &str) -> PathBuf { if let Some(&id) = self.route.last() { if let Some(dir) = self.sources.get(id).path().parent() { return dir.join(path); -- cgit v1.2.3