diff --git a/src/preprocess/links.rs b/src/preprocess/links.rs index 08d36dcd..4b7354e0 100644 --- a/src/preprocess/links.rs +++ b/src/preprocess/links.rs @@ -180,7 +180,7 @@ fn return_relative_path>(base: P, relative: P) -> PathBuf { } fn parse_include_path(path: &str) -> LinkType<'static> { - let mut parts = path.split(':'); + let mut parts = path.split(':').fuse(); let path = parts.next().unwrap().into(); let next_element = parts.next();