Skip to content

Commit 6103b0a

Browse files
committed
Fix unused_imports lint
1 parent d747ba3 commit 6103b0a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/symbolize/gimli.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ use core::convert::TryInto;
1414
use core::mem;
1515
use core::u32;
1616
use libc::c_void;
17-
use mystd::ffi::{OsStr, OsString};
17+
use mystd::ffi::OsString;
1818
use mystd::fs::File;
1919
use mystd::path::Path;
2020
use 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

0 commit comments

Comments
 (0)