diff --git a/gix-path/src/convert.rs b/gix-path/src/convert.rs index 4f2fe990ee0..8533fa63da2 100644 --- a/gix-path/src/convert.rs +++ b/gix-path/src/convert.rs @@ -232,7 +232,6 @@ pub fn to_unix_separators_on_windows<'a>(path: impl Into>) -> Cow< /// Replaces windows path separators with slashes, 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'/') } @@ -240,7 +239,6 @@ pub fn to_unix_separators<'a>(path: impl Into>) -> Cow<'a, BStr> { /// Find backslashes and replace them 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_windows_separators<'a>(path: impl Into>) -> Cow<'a, BStr> { replace(path, b'/', b'\\') }