Skip to content

Commit 11d541b

Browse files
bors[bot]Dirbaio
andauthored
Merge #322
322: Remove docs mentioning the Default marker traits. r=ryankurte a=Dirbaio These were removed in #289 but the doc comments were not updated accordingly. Co-authored-by: Dario Nieuwenhuis <[email protected]>
2 parents 4f3ada1 + c737684 commit 11d541b

File tree

4 files changed

+0
-16
lines changed

4 files changed

+0
-16
lines changed

src/digital.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,4 @@
11
//! Digital I/O
2-
//!
3-
//! In some cases it's possible to implement these blocking traits on top of one of the core HAL
4-
//! traits. To save boilerplate when that's the case a `Default` marker trait may be provided.
5-
//! Implementing that marker trait will opt in your type into a blanket implementation.
62
73
use core::{convert::From, ops::Not};
84

src/i2c.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,6 @@
1616
//! Since 7-bit addressing is the mode of the majority of I2C devices,
1717
//! `SevenBitAddress` has been set as default mode and thus can be omitted if desired.
1818
//!
19-
//! In some cases it's possible to implement these blocking traits on top of one of the core HAL
20-
//! traits. To save boilerplate when that's the case a `Default` marker trait may be provided.
21-
//! Implementing that marker trait will opt in your type into a blanket implementation.
22-
//!
2319
//! ## Examples
2420
//!
2521
//! ### `embedded-hal` implementation for an MCU

src/serial/blocking.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,4 @@
11
//! Blocking serial API
2-
//!
3-
//! In some cases it's possible to implement these blocking traits on top of one of the core HAL
4-
//! traits. To save boilerplate when that's the case a `Default` marker trait may be provided.
5-
//! Implementing that marker trait will opt in your type into a blanket implementation.
62
73
/// Write half of a serial interface (blocking variant)
84
pub trait Write<Word> {

src/spi/blocking.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,4 @@
11
//! Blocking SPI API
2-
//!
3-
//! In some cases it's possible to implement these blocking traits on top of one of the core HAL
4-
//! traits. To save boilerplate when that's the case a `Default` marker trait may be provided.
5-
//! Implementing that marker trait will opt in your type into a blanket implementation.
62
73
/// Blocking transfer
84
pub trait Transfer<W> {

0 commit comments

Comments
 (0)