From f4da6e414090de91bd36e152c45e478e01e1f8f9 Mon Sep 17 00:00:00 2001 From: Bastien Dejean Date: Fri, 6 Feb 2026 12:01:45 +0100 Subject: [PATCH] Fix compile error --- crates/core/src/document/epub/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/core/src/document/epub/mod.rs b/crates/core/src/document/epub/mod.rs index 2f761f4..5e0418b 100644 --- a/crates/core/src/document/epub/mod.rs +++ b/crates/core/src/document/epub/mod.rs @@ -97,7 +97,7 @@ impl EpubDocument { }).and_then(|href| { let href = decode_entities(href); let href = percent_decode_str(&href).decode_utf8_lossy(); - let href_path = parent.join(href.as_ref()); + let href_path = parent.join::<&str>(href.as_ref()); href_path.to_str().and_then(|path| { archive.by_name(path).map_err(|e| { eprintln!("Can't retrieve '{}' from the archive: {:#}.", path, e) -- 2.51.2