We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 53a2df3 commit a20f347Copy full SHA for a20f347
src/cdev_pin.rs
@@ -1,4 +1,4 @@
1
-//! Implementation of [`embedded-hal`] digital input/output traits using a Linux CDev pin
+//! Implementation of [`embedded-hal`] digital input/output traits using a Linux cdev pin.
2
//!
3
//! [`embedded-hal`]: https://docs.rs/embedded-hal
4
@@ -16,8 +16,8 @@ use gpiocdev::{
16
request::{Config, Request},
17
};
18
19
-/// Newtype around [`gpiocdev::request::Request`] that implements the `embedded-hal` traits.
20
-#[cfg_attr(not(feature = "async-tokio"), derive(Debug))]
+/// Wrapper around [`gpiocdev::request::Request`] that implements the `embedded-hal` traits.
+#[derive(Debug)]
21
pub struct CdevPin {
22
#[cfg(not(feature = "async-tokio"))]
23
req: Request,
0 commit comments