mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-04-22 21:48:42 +00:00
Update doc of PathExt::normalize_path
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
This commit is contained in:
parent
989be49cb0
commit
b879c15c70
1 changed files with 2 additions and 0 deletions
|
@ -1,6 +1,8 @@
|
||||||
use std::path::{Component, Path, PathBuf};
|
use std::path::{Component, Path, PathBuf};
|
||||||
|
|
||||||
pub trait PathExt {
|
pub trait PathExt {
|
||||||
|
/// Similiar to `os.path.normpath`: It does not perform
|
||||||
|
/// any fs operation.
|
||||||
fn normalize_path(&self) -> PathBuf;
|
fn normalize_path(&self) -> PathBuf;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue