File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ use core::convert::TryInto;
1414use core:: mem;
1515use core:: u32;
1616use libc:: c_void;
17- use mystd:: ffi:: { OsStr , OsString } ;
17+ use mystd:: ffi:: OsString ;
1818use mystd:: fs:: File ;
1919use mystd:: path:: Path ;
2020use mystd:: prelude:: v1:: * ;
@@ -327,14 +327,14 @@ fn create_mapping(lib: &Library) -> Option<Mapping> {
327327///
328328/// Returns `None` if the path does not contain a `!/` separator.
329329#[ cfg( target_os = "android" ) ]
330- fn extract_zip_path_android ( path : & OsStr ) -> Option < & OsStr > {
330+ fn extract_zip_path_android ( path : & mystd :: ffi :: OsStr ) -> Option < & mystd :: ffi :: OsStr > {
331331 use mystd:: os:: unix:: ffi:: OsStrExt ;
332332
333333 path. as_bytes ( )
334334 . windows ( 2 )
335335 . enumerate ( )
336336 . find ( |( _, chunk) | chunk == b"!/" )
337- . map ( |( index, _) | OsStr :: from_bytes ( path. as_bytes ( ) . split_at ( index) . 0 ) )
337+ . map ( |( index, _) | mystd :: ffi :: OsStr :: from_bytes ( path. as_bytes ( ) . split_at ( index) . 0 ) )
338338}
339339
340340// unsafe because this is required to be externally synchronized
You can’t perform that action at this time.
0 commit comments