summaryrefslogtreecommitdiff
path: root/crates/typst-docs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/typst-docs')
-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> {