diff options
| author | Matt Bhagat-Conway <[email protected]> | 2025-07-03 10:37:49 -0400 |
|---|---|---|
| committer | Matt Bhagat-Conway <[email protected]> | 2025-07-03 10:37:49 -0400 |
| commit | 6545b051887cd6944557901015b4c5b54a2b6848 (patch) | |
| tree | 9851652290c5477be59e0afbbd9d5204ad093435 | |
| parent | 388eee221e16717fe47913d26a1f6ed4cd35d4bc (diff) | |
fix rustfmt in read_to_break docstring
| -rw-r--r-- | embassy-rp/src/uart/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/embassy-rp/src/uart/mod.rs b/embassy-rp/src/uart/mod.rs index b730d33e3..cfbce493c 100644 --- a/embassy-rp/src/uart/mod.rs +++ b/embassy-rp/src/uart/mod.rs | |||
| @@ -544,7 +544,7 @@ impl<'d> UartRx<'d, Async> { | |||
| 544 | /// * If you expect a message of 20 bytes + line break, and provide a 21-byte buffer: | 544 | /// * If you expect a message of 20 bytes + line break, and provide a 21-byte buffer: |
| 545 | /// * The first call to `read_to_break()` will return `Ok(20)`. | 545 | /// * The first call to `read_to_break()` will return `Ok(20)`. |
| 546 | /// * The next call to `read_to_break()` will work as expected | 546 | /// * The next call to `read_to_break()` will work as expected |
| 547 | /// | 547 | /// |
| 548 | /// **NOTE**: In the UART context, a line break refers to a break condition (the line being held low for | 548 | /// **NOTE**: In the UART context, a line break refers to a break condition (the line being held low for |
| 549 | /// for longer than a single character), not an ASCII line break. | 549 | /// for longer than a single character), not an ASCII line break. |
| 550 | pub async fn read_to_break_with_count( | 550 | pub async fn read_to_break_with_count( |
