diff --git a/gix-path/src/convert.rs b/gix-path/src/convert.rs index af81a5ee42a..a33a91e9e24 100644 --- a/gix-path/src/convert.rs +++ b/gix-path/src/convert.rs @@ -233,7 +233,6 @@ pub fn to_unix_separators_on_windows<'a>(path: impl Into>) -> Cow< /// Replace Windows path separators with slashes, which typically resembles a Unix path, unconditionally. /// /// **Note** Do not use these and prefer the conditional versions of this method. -// TODO: use https://lib.rs/crates/path-slash to handle escapes pub fn to_unix_separators<'a>(path: impl Into>) -> Cow<'a, BStr> { replace(path, b'\\', b'/') } @@ -241,7 +240,6 @@ pub fn to_unix_separators<'a>(path: impl Into>) -> Cow<'a, BStr> { /// Find slashes and replace them with backslashes, unconditionally. /// /// **Note** Do not use these and prefer the conditional versions of this method. -// TODO: use https://lib.rs/crates/path-slash to handle escapes pub fn to_windows_separators<'a>(path: impl Into>) -> Cow<'a, BStr> { replace(path, b'/', b'\\') }