Skip to content

Commit 05ae62c

Browse files
author
cogwheel886
committed
fix: resolve broken intra-doc links in epd2in13_v4/mod.rs
Convert [], [], [], [] from intra-doc links to plain backtick references — these are trait methods and rustdoc cannot resolve them without full qualified paths. Fixes CI doc build failure on PR rust-embedded-community#255.
1 parent 45c0fc5 commit 05ae62c

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

src/epd2in13_v4/mod.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,7 @@ where
323323

324324
/// Clear the display RAM with the background color.
325325
///
326-
/// This only writes to RAM. Call [`display_frame`] afterwards to
326+
/// This only writes to RAM. Call `display_frame()` afterwards to
327327
/// trigger a refresh, matching the behavior of other drivers.
328328
pub fn clear_frame(&mut self, spi: &mut SPI, _delay: &mut DELAY) -> Result<(), SPI::Error> {
329329
self.use_full_frame(spi)?;
@@ -342,8 +342,8 @@ where
342342

343343
/// Enter deep sleep mode.
344344
///
345-
/// The display retains its image and can be woken with [`wake_up`].
346-
/// To fully power down, call [`power_off`] after this.
345+
/// The display retains its image and can be woken with `wake_up()`.
346+
/// To fully power down, call `power_off()` after this.
347347
pub fn sleep(&mut self, spi: &mut SPI, delay: &mut DELAY) -> Result<(), SPI::Error> {
348348
self.wait_until_idle(spi, delay)?;
349349
self.interface
@@ -353,8 +353,8 @@ where
353353

354354
/// Drive the power pin LOW, fully powering down the display.
355355
///
356-
/// Matches Python's `module_exit()`. Call after [`sleep`] when the
357-
/// display is no longer needed. A subsequent [`wake_up`] will drive
356+
/// Matches Python's `module_exit()`. Call after `sleep()` when the
357+
/// display is no longer needed. A subsequent `wake_up()` will drive
358358
/// PWR HIGH again during init.
359359
pub fn power_off(&mut self) {
360360
let _ = self.pwr_pin.set_low();

0 commit comments

Comments
 (0)