summaryrefslogtreecommitdiff
path: root/core/normalize_path.rs
diff options
context:
space:
mode:
authorFeng Yu <f3n67u@gmail.com>2021-09-05 22:22:45 +0800
committerGitHub <noreply@github.com>2021-09-05 16:22:45 +0200
commitbb99d5da4c9d7d17e08097d004bf36f0976a678c (patch)
tree358ad4c80ed7ebffc9f291ca84490b667012be24 /core/normalize_path.rs
parentf9d29115a0164a861c99b36a0919324920225e42 (diff)
fix(doc): fix rustdoc bare_urls warning (#11921)
Diffstat (limited to 'core/normalize_path.rs')
-rw-r--r--core/normalize_path.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/normalize_path.rs b/core/normalize_path.rs
index 4ae41bbdf..a7facf4db 100644
--- a/core/normalize_path.rs
+++ b/core/normalize_path.rs
@@ -8,7 +8,7 @@ use std::path::PathBuf;
/// Similar to `fs::canonicalize()` but doesn't resolve symlinks.
///
/// Taken from Cargo
-/// https://github.com/rust-lang/cargo/blob/af307a38c20a753ec60f0ad18be5abed3db3c9ac/src/cargo/util/paths.rs#L60-L85
+/// <https://github.com/rust-lang/cargo/blob/af307a38c20a753ec60f0ad18be5abed3db3c9ac/src/cargo/util/paths.rs#L60-L85>
pub fn normalize_path<P: AsRef<Path>>(path: P) -> PathBuf {
let mut components = path.as_ref().components().peekable();
let mut ret =