Skip to content

Commit

Permalink
don't compile/run code in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
aviramha committed Sep 11, 2024
1 parent 06f0edc commit d14ef82
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frida/src/device.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ impl<'a> Device<'a> {
/// Returns the device's type
///
/// # Example
/// ```
/// ```ignore
///# use frida::DeviceType;
///# let frida = unsafe { frida::Frida::obtain() };
///# let device_manager = frida::DeviceManager::obtain(&frida);
Expand All @@ -58,7 +58,7 @@ impl<'a> Device<'a> {
/// Returns the device's system parameters
///
/// # Example
/// ```
/// ```ignore
///# use std::collections::HashMap;
///# let frida = unsafe { frida::Frida::obtain() };
///# let device_manager = frida::DeviceManager::obtain(&frida);
Expand Down

0 comments on commit d14ef82

Please sign in to comment.