Skip to content

Commit b414ad5

Browse files
authored
Merge pull request #729 from stm32-rs/doc
document sdio
2 parents ccb29f2 + 633fe9d commit b414ad5

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ repository = "https://github.com/stm32-rs/stm32f4xx-hal"
2323
version = "0.20.0"
2424

2525
[package.metadata.docs.rs]
26-
features = ["stm32f429", "usb_fs", "can", "i2s", "fsmc_lcd", "rtic1", "defmt"]
26+
features = ["stm32f429", "usb_fs", "can", "i2s", "fsmc_lcd", "rtic1", "defmt", "sdio-host"]
2727
targets = ["thumbv7em-none-eabihf"]
2828

2929
[dependencies]

src/fsmc_lcd/pins.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,7 @@ pub struct DataPins16 {
174174
impl DataPins for DataPins16 {}
175175

176176
impl DataPins16 {
177+
#[allow(clippy::too_many_arguments)]
177178
#[inline(always)]
178179
pub fn new(
179180
d0: impl Into<alt::D0>,

src/rng.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ impl Rng {
137137
}
138138
}
139139

140-
/// Releases ownership of the [RNG](crate::pac::RNG) peripheral object
140+
/// Releases ownership of the [`RNG`] peripheral object
141141
/// (after which `self` can't be used anymore).
142142
pub fn release(self) -> RNG {
143143
self.rb

0 commit comments

Comments
 (0)