From d14ef8226aab35187de2d6262fc119516b419915 Mon Sep 17 00:00:00 2001 From: Aviram Hassan Date: Wed, 11 Sep 2024 14:35:36 +0300 Subject: [PATCH] don't compile/run code in docs --- frida/src/device.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frida/src/device.rs b/frida/src/device.rs index 886a4efd..e7502a42 100644 --- a/frida/src/device.rs +++ b/frida/src/device.rs @@ -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); @@ -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);