From b3b4d9ff6fcf9b217b071f4052ec8d419a56be0d Mon Sep 17 00:00:00 2001 From: Victor Koenders Date: Tue, 18 Jan 2022 11:31:28 +0100 Subject: [PATCH] Fixed doc test --- rp2040-hal/src/uart/utils.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rp2040-hal/src/uart/utils.rs b/rp2040-hal/src/uart/utils.rs index e44011b..4fe286c 100644 --- a/rp2040-hal/src/uart/utils.rs +++ b/rp2040-hal/src/uart/utils.rs @@ -61,7 +61,8 @@ pub enum Parity { /// A struct holding the configuration for an UART device. /// /// The `Default` implementation implements the following values: -/// ``` +/// ```ignore +/// # // can't actually create this with the non_exhaustive attribute /// UartConfig { /// baudrate: Baud(0), /// data_bits: DataBits::Eight,