File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -140,7 +140,7 @@ pub fn u8_to_path(path: impl AsRef<[u8]>) -> PathBuf {
140140///
141141/// * `path` - The path to convert.
142142#[ must_use]
143- pub fn typed_path_to_unix_path < ' a > ( path : & ' a TypedPath < ' _ > ) -> Cow < ' a , UnixPath > {
143+ fn typed_path_to_unix_path < ' a > ( path : & ' a TypedPath < ' _ > ) -> Cow < ' a , UnixPath > {
144144 match path {
145145 TypedPath :: Unix ( p) => Cow :: Borrowed ( p) ,
146146 TypedPath :: Windows ( p) => Cow :: Owned ( windows_path_to_unix_path ( p) ) ,
@@ -155,7 +155,7 @@ pub fn typed_path_to_unix_path<'a>(path: &'a TypedPath<'_>) -> Cow<'a, UnixPath>
155155///
156156/// * `path` - The path to convert.
157157#[ must_use]
158- pub fn windows_path_to_unix_path ( path : & WindowsPath ) -> UnixPathBuf {
158+ fn windows_path_to_unix_path ( path : & WindowsPath ) -> UnixPathBuf {
159159 let mut unix_path = UnixPathBuf :: new ( ) ;
160160 let mut components = path. components ( ) ;
161161 if let Some ( c) = components. next ( ) {
You can’t perform that action at this time.
0 commit comments