Skip to content

Commit

Permalink
Get rid of TryInto/TryFrom imports
Browse files Browse the repository at this point in the history
  • Loading branch information
s1341 committed Apr 1, 2024
1 parent 4b0f17c commit 8292554
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion frida-gum/src/debug_symbol.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
use {
crate::NativePointer,
core::{convert::TryInto, fmt, mem::MaybeUninit, str::Utf8Error},
core::{fmt, mem::MaybeUninit, str::Utf8Error},
cstr_core::{CStr, CString},
frida_gum_sys as gum_sys,
gum_sys::{gum_find_function, gum_symbol_details_from_address, GumDebugSymbolDetails},
Expand Down
2 changes: 1 addition & 1 deletion frida-gum/src/instruction_writer/x86_64/writer.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
use {
crate::instruction_writer::{Argument, InstructionWriter, X86BranchCondition, X86Register},
core::{convert::TryInto, ffi::c_void},
core::ffi::c_void,
frida_gum_sys as gum_sys,
gum_sys::{gssize, GumArgument, GumBranchHint},
};
Expand Down
1 change: 0 additions & 1 deletion frida-gum/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@ extern crate num;
extern crate num_derive;

use core::{
convert::TryFrom,
ffi::{c_char, c_void, CStr},
fmt::{Debug, Display, Formatter, LowerHex, UpperHex},
};
Expand Down
2 changes: 1 addition & 1 deletion frida-gum/src/module.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

use {
crate::{NativePointer, PageProtection, RangeDetails},
core::{convert::TryInto, ffi::c_void},
core::ffi::c_void,
cstr_core::CString,
frida_gum_sys as gum_sys,
frida_gum_sys::{gboolean, gpointer, GumExportDetails, GumModuleDetails, GumSymbolDetails},
Expand Down

0 comments on commit 8292554

Please sign in to comment.