Skip to content

Commit dda58d6

Browse files
kaidokertsajattack
andauthored
Fix Nightly doc build errors (#737)
Co-authored-by: Paul Sajna <[email protected]>
1 parent 02dbad6 commit dda58d6

File tree

4 files changed

+22
-25
lines changed

4 files changed

+22
-25
lines changed

hal/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
- fix samd51j not having i2s support
55
- remove i2s functionality for samd51g since it does not have it
66
- Fix EIC issue leading to lost interrupts
7+
- Fix docbuild indentation errors with nightly toolchain
78

89
# v0.17.0
910

hal/src/dmac/transfer.rs

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,17 @@
44
//!
55
//! Four basic transfer types are supported:
66
//!
7-
//! * Incrementing-source to incrementing-destination
8-
//! (normally used for memory-to-memory transfers)
7+
//! * Incrementing-source to incrementing-destination (normally used for
8+
//! memory-to-memory transfers)
99
//!
10-
//! * Incrementing-source to fixed-destination (normally used
11-
//! for memory-to-peripheral transfers)
10+
//! * Incrementing-source to fixed-destination (normally used for
11+
//! memory-to-peripheral transfers)
1212
//!
1313
//! * Fixed-source to incrementing-destination (normally used for
14-
//! peripheral-to-memory transfers)
14+
//! peripheral-to-memory transfers)
1515
//!
1616
//! * Fixed-source to fixed-destination (normally used for
17-
//! peripheral-to-peripheral transfers)
17+
//! peripheral-to-peripheral transfers)
1818
//!
1919
//! # Beat sizes
2020
//!
@@ -71,17 +71,16 @@
7171
//! Three trigger actions are available:
7272
//!
7373
//! * BLOCK: One trigger required for each block transfer. In the context of
74-
//! this driver,
75-
//! one Transfer is equivalent to one Block transfer.
74+
//! this driver, one Transfer is equivalent to one Block transfer.
7675
//!
7776
//! * BEAT: One trigger required for each beat transfer. In the context of this
78-
//! driver, the beat
79-
//! size will depend on the type of buffer used (8, 16 or 32 bits).
77+
//! driver, the beat size will depend on the type of buffer used (8, 16 or 32
78+
//! bits).
8079
//!
8180
//! * TRANSACTION: One trigger required for a full DMA transaction. this is
82-
//! useful for circular
83-
//! transfers in the context of this driver. One trigger will set off the
84-
//! transaction, that will now run uninterrupted until it is stopped.
81+
//! useful for circular transfers in the context of this driver. One trigger
82+
//! will set off the transaction, that will now run uninterrupted until it is
83+
//! stopped.
8584
8685
use super::{
8786
channel::{AnyChannel, Busy, CallbackStatus, Channel, ChannelId, InterruptFlags, Ready},

hal/src/sercom/mod.rs

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,20 +10,19 @@
1010
//! those features work as intended.
1111
//!
1212
//! * [`UndocIoSet1`](pad::UndocIoSet1): Implement an undocumented `IoSet` for
13-
//! PA16, PA17,
14-
//! PB22 & PB23 configured for [`Sercom1`]. The pygamer & feather_m4 use this
15-
//! combination, but it is not listed as valid in the datasheet.
13+
//! PA16, PA17, PB22 & PB23 configured for [`Sercom1`]. The pygamer &
14+
//! feather_m4 use this combination, but it is not listed as valid in the
15+
//! datasheet.
1616
//!
1717
//! * [`UndocIoSet2`](pad::UndocIoSet2): Implement an undocumented `IoSet` for
18-
//! PA00, PA01,
19-
//! PB22 & PB23 configured for [`Sercom1`]. The itsybitsy_m4 uses this
20-
//! combination, but it is not listed as valid in the datasheet.
18+
//! PA00, PA01, PB22 & PB23 configured for [`Sercom1`]. The itsybitsy_m4 uses
19+
//! this combination, but it is not listed as valid in the datasheet.
2120
//!
2221
//! * [`PB02`] is I2C-capable according to metro_m4. As such, [`PB02`]
23-
//! implements [`IsI2cPad`].
22+
//! implements [`IsI2cPad`].
2423
//!
2524
//! * [`PB03`] is I2C-capable according to metro_m4. As such, [`PB03`]
26-
//! implements [`IsI2cPad`](pad::IsI2cPad).
25+
//! implements [`IsI2cPad`](pad::IsI2cPad).
2726
//!
2827
//! [`PB02`]: crate::gpio::pin::PB02
2928
//! [`PB03`]: crate::gpio::pin::PB03

hal/src/sercom/pad.rs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -302,8 +302,7 @@ mod ioset {
302302
/// As of writing this documentation, only two undocumented IOSETs have been
303303
/// discovered:
304304
/// - [`UndocIoSet1`]: PA16, PA17, PB22 & PB23 configured for `Sercom1`.
305-
/// Both the
306-
/// pygamer & feather_m4 uses this combination.
305+
/// Both the pygamer & feather_m4 uses this combination.
307306
/// - [`UndocIoSet2`]: PA00, PA01, PB22 & PB23 configured for `Sercom1`. The
308307
/// itsybitsy_m4 uses this combination.
309308
///
@@ -327,8 +326,7 @@ mod ioset {
327326
/// As of writing this documentation, only two undocumented IOSETs have been
328327
/// discovered:
329328
/// - [`UndocIoSet1`]: PA16, PA17, PB22 & PB23 configured for `Sercom1`.
330-
/// Both the
331-
/// pygamer & feather_m4 uses this combination.
329+
/// Both the pygamer & feather_m4 uses this combination.
332330
/// - [`UndocIoSet2`]: PA00, PA01, PB22 & PB23 configured for `Sercom1`. The
333331
/// itsybitsy_m4 uses this combination.
334332
///

0 commit comments

Comments
 (0)