Skip to content

Commit 4ad6928

Browse files
committed
Fix doctest
1 parent aa53626 commit 4ad6928

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

esp-hal/src/uart/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1872,6 +1872,7 @@ where
18721872
self.tx.send_break(bits)
18731873
}
18741874

1875+
#[procmacros::doc_replace]
18751876
/// Returns whether the UART receive buffer has at least one byte of data.
18761877
///
18771878
/// If this function returns `true`, [`Self::read`] and [`Self::read_async`]

0 commit comments

Comments
 (0)