From 20b325c7d50092cada3408aee958b3d523541f2c Mon Sep 17 00:00:00 2001 From: Jade Date: Sun, 13 Jun 2021 21:57:10 -0700 Subject: tree-wide: make rustdoc links spiky so they are clickable --- crates/paths/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crates/paths') diff --git a/crates/paths/src/lib.rs b/crates/paths/src/lib.rs index f09ad37e3..48dac14c4 100644 --- a/crates/paths/src/lib.rs +++ b/crates/paths/src/lib.rs @@ -244,7 +244,7 @@ impl RelPath { } } -/// Taken from https://github.com/rust-lang/cargo/blob/79c769c3d7b4c2cf6a93781575b7f592ef974255/src/cargo/util/paths.rs#L60-L85 +/// Taken from fn normalize_path(path: &Path) -> PathBuf { let mut components = path.components().peekable(); let mut ret = if let Some(c @ Component::Prefix(..)) = components.peek().cloned() { -- cgit v1.2.3