Skip to content

Commit

Permalink
Fix lint checker
Browse files Browse the repository at this point in the history
  • Loading branch information
SajjadPourali authored Jul 9, 2024
1 parent 2fd19a3 commit 5aab1a3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frida/src/device_manager.rs
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ impl<'a> DeviceManager<'a> {
pub fn get_remote_device(&'a self, host: &str) -> Result<Device<'a>> {
let mut error: *mut frida_sys::GError = std::ptr::null_mut();
let host_cstring = CString::new(host).map_err(|_| Error::CStringFailed)?;

let device_ptr = unsafe {
frida_sys::frida_device_manager_add_remote_device_sync(
self.manager_ptr,
Expand All @@ -106,7 +106,7 @@ impl<'a> DeviceManager<'a> {

return Ok(Device::from_raw(device_ptr));
}

/// Returns the device with the specified id.
///
/// # Example
Expand Down

0 comments on commit 5aab1a3

Please sign in to comment.