File tree 1 file changed +3
-3
lines changed
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;
14
14
use core:: mem;
15
15
use core:: u32;
16
16
use libc:: c_void;
17
- use mystd:: ffi:: { OsStr , OsString } ;
17
+ use mystd:: ffi:: OsString ;
18
18
use mystd:: fs:: File ;
19
19
use mystd:: path:: Path ;
20
20
use mystd:: prelude:: v1:: * ;
@@ -327,14 +327,14 @@ fn create_mapping(lib: &Library) -> Option<Mapping> {
327
327
///
328
328
/// Returns `None` if the path does not contain a `!/` separator.
329
329
#[ 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 > {
331
331
use mystd:: os:: unix:: ffi:: OsStrExt ;
332
332
333
333
path. as_bytes ( )
334
334
. windows ( 2 )
335
335
. enumerate ( )
336
336
. 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 ) )
338
338
}
339
339
340
340
// unsafe because this is required to be externally synchronized
You can’t perform that action at this time.
0 commit comments