From b879c15c702acc817d6be7a9536b6afa6a764967 Mon Sep 17 00:00:00 2001 From: Jiahao XU Date: Sun, 12 Jun 2022 17:22:20 +1000 Subject: [PATCH] Update doc of `PathExt::normalize_path` Signed-off-by: Jiahao XU --- src/helpers/path_ext.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/helpers/path_ext.rs b/src/helpers/path_ext.rs index c1261f96..c4958539 100644 --- a/src/helpers/path_ext.rs +++ b/src/helpers/path_ext.rs @@ -1,6 +1,8 @@ use std::path::{Component, Path, PathBuf}; pub trait PathExt { + /// Similiar to `os.path.normpath`: It does not perform + /// any fs operation. fn normalize_path(&self) -> PathBuf; }