From 7b4ebd5432d7cb5ff5ce9b504339a0cd0b5afa0b Mon Sep 17 00:00:00 2001 From: Simon Johnston Date: Tue, 18 Aug 2020 13:08:44 -0700 Subject: [PATCH] no_run -> ignore for examples --- src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index ed9a4c7..18bf7b5 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -14,7 +14,7 @@ for the manipulation of the light state. The following example shows a function that sets the light to a solid red color. It demonstrates the use of a USB connected device. -```rust,no_run +```rust,ignore use luxafor::usb_hid::USBDeviceDiscovery; use luxafor::{Device, SolidColor}; use luxafor::error::Result; @@ -29,7 +29,7 @@ fn set_do_not_disturb() -> Result<()> { The following shows the same function but using the webhook connection. -```rust,no_run +```rust,ignore use luxafor::webhook::new_device_for; use luxafor::{Device, SolidColor}; use luxafor::error::Result;