Add reference to the src of path_ext

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
This commit is contained in:
Jiahao XU 2022-06-15 17:23:00 +10:00
parent 9eb1128f9f
commit 282805c3ac
No known key found for this signature in database
GPG key ID: 591C0B03040416D6

View file

@ -1,3 +1,6 @@
//! Shamelessly taken from:
//! https://github.com/rust-lang/cargo/blob/fede83ccf973457de319ba6fa0e36ead454d2e20/src/cargo/util/paths.rs#L61
use std::path::{Component, Path, PathBuf};
pub trait PathExt {