Skip to content

Commit 093bc33

Browse files
committed
Remove unnecessary imports
1 parent 0296e8e commit 093bc33

File tree

4 files changed

+1
-8
lines changed

4 files changed

+1
-8
lines changed

examples/blinky.rs

-2
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@
66
// option. This file may not be copied, modified, or distributed
77
// except according to those terms.
88

9-
extern crate sysfs_gpio;
10-
119
use std::env;
1210
use std::thread::sleep;
1311
use std::time::Duration;

examples/interrupt.rs

-2
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@
66
// option. This file may not be copied, modified, or distributed
77
// except according to those terms.
88

9-
extern crate sysfs_gpio;
10-
119
use std::env;
1210
use std::io::prelude::*;
1311
use std::io::stdout;

examples/poll.rs

-2
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@
66
// option. This file may not be copied, modified, or distributed
77
// except according to those terms.
88

9-
extern crate sysfs_gpio;
10-
119
use std::env;
1210
use std::thread::sleep;
1311
use std::time::Duration;

src/lib.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,6 @@
2222
//! the following:
2323
//!
2424
//! ```no_run
25-
//! extern crate sysfs_gpio;
26-
//!
2725
//! use sysfs_gpio::{Direction, Pin};
2826
//! use std::thread::sleep;
2927
//! use std::time::Duration;
@@ -43,6 +41,7 @@
4341
//! ```
4442
4543
#![cfg_attr(feature = "async-tokio", allow(deprecated))]
44+
#![doc(html_root_url = "https://docs.rs/sysfs-gpio/0.6.0")]
4645

4746
#[cfg(feature = "async-tokio")]
4847
extern crate futures;

0 commit comments

Comments
 (0)