Skip to content

Commit a20f347

Browse files
committed
Fix documentation.
1 parent 53a2df3 commit a20f347

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/cdev_pin.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//! Implementation of [`embedded-hal`] digital input/output traits using a Linux CDev pin
1+
//! Implementation of [`embedded-hal`] digital input/output traits using a Linux cdev pin.
22
//!
33
//! [`embedded-hal`]: https://docs.rs/embedded-hal
44
@@ -16,8 +16,8 @@ use gpiocdev::{
1616
request::{Config, Request},
1717
};
1818

19-
/// Newtype around [`gpiocdev::request::Request`] that implements the `embedded-hal` traits.
20-
#[cfg_attr(not(feature = "async-tokio"), derive(Debug))]
19+
/// Wrapper around [`gpiocdev::request::Request`] that implements the `embedded-hal` traits.
20+
#[derive(Debug)]
2121
pub struct CdevPin {
2222
#[cfg(not(feature = "async-tokio"))]
2323
req: Request,

0 commit comments

Comments
 (0)