summaryrefslogtreecommitdiff
path: root/crates/typst-docs/src
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2023-11-19 16:34:38 +0100
committerLaurenz <laurmaedje@gmail.com>2023-11-19 16:34:38 +0100
commit2da619e17cb48efd468818ea35793b3f90b8aaea (patch)
treee38012152337099a334c00247f2b27e406c9427f /crates/typst-docs/src
parentea987ef4a3cb1e16b73e9d97f4a736f3a611b275 (diff)
Streamline imports
Diffstat (limited to 'crates/typst-docs/src')
-rw-r--r--crates/typst-docs/src/html.rs2
-rw-r--r--crates/typst-docs/src/link.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/crates/typst-docs/src/html.rs b/crates/typst-docs/src/html.rs
index 51906a2b..1210545f 100644
--- a/crates/typst-docs/src/html.rs
+++ b/crates/typst-docs/src/html.rs
@@ -16,7 +16,7 @@ use typst::World;
use unscanny::Scanner;
use yaml_front_matter::YamlFrontMatter;
-use super::{contributors, OutlineItem, Resolver, FILE_DIR, FONTS, LIBRARY};
+use crate::{contributors, OutlineItem, Resolver, FILE_DIR, FONTS, LIBRARY};
/// HTML documentation.
#[derive(Serialize)]
diff --git a/crates/typst-docs/src/link.rs b/crates/typst-docs/src/link.rs
index 64fb47f9..38730c32 100644
--- a/crates/typst-docs/src/link.rs
+++ b/crates/typst-docs/src/link.rs
@@ -1,7 +1,7 @@
use typst::diag::{bail, StrResult};
use typst::eval::Func;
-use super::{get_module, GROUPS, LIBRARY};
+use crate::{get_module, GROUPS, LIBRARY};
/// Resolve an intra-doc link.
pub fn resolve(link: &str) -> StrResult<String> {