tree-wide: make rustdoc links spiky so they are clickable

This commit is contained in:
Jade 2021-06-13 21:57:10 -07:00
parent 660a89620f
commit 20b325c7d5
32 changed files with 37 additions and 37 deletions

View file

@ -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 <https://github.com/rust-lang/cargo/blob/79c769c3d7b4c2cf6a93781575b7f592ef974255/src/cargo/util/paths.rs#L60-L85>
fn normalize_path(path: &Path) -> PathBuf {
let mut components = path.components().peekable();
let mut ret = if let Some(c @ Component::Prefix(..)) = components.peek().cloned() {