From b10372d4b9fe4ef322987caf32c8d7df3f6fbcfe Mon Sep 17 00:00:00 2001 From: Jan Niehusmann Date: Tue, 11 Jul 2023 11:37:45 +0000 Subject: [PATCH] Avoid missing docs warning on pub extern crate Due to https://github.com/rust-lang/rust/issues/112308, the public re-export of the pac will trigger a missing docs warning in rust 1.71.0. This is bogus, as the doc string would not be shown in the rendered docs anyway. However, the warning would be annoying, so add a short doc string to the item. --- rp2040-hal/src/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/rp2040-hal/src/lib.rs b/rp2040-hal/src/lib.rs index 5e46a2285..06843020f 100644 --- a/rp2040-hal/src/lib.rs +++ b/rp2040-hal/src/lib.rs @@ -43,6 +43,7 @@ extern crate embedded_hal as hal; extern crate nb; pub use paste; +/// Re-export of the PAC pub extern crate rp2040_pac as pac; #[macro_use]