no_run -> ignore for examples

This commit is contained in:
Simon Johnston
2020-08-18 13:08:44 -07:00
committed by GitHub
parent 87a16b38e6
commit 7b4ebd5432
+2 -2
View File
@@ -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 following example shows a function that sets the light to a solid red color. It demonstrates
the use of a USB connected device. the use of a USB connected device.
```rust,no_run ```rust,ignore
use luxafor::usb_hid::USBDeviceDiscovery; use luxafor::usb_hid::USBDeviceDiscovery;
use luxafor::{Device, SolidColor}; use luxafor::{Device, SolidColor};
use luxafor::error::Result; 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. The following shows the same function but using the webhook connection.
```rust,no_run ```rust,ignore
use luxafor::webhook::new_device_for; use luxafor::webhook::new_device_for;
use luxafor::{Device, SolidColor}; use luxafor::{Device, SolidColor};
use luxafor::error::Result; use luxafor::error::Result;