From ea8b5b6c334113fffeadd11f36d6dbb27988d624 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Tj=C3=A4der?= Date: Wed, 8 Nov 2023 21:39:12 +0100 Subject: [PATCH] CI: rtic-monotonics: systick not always in scope Links are checked during compilation, and to not make it overly complex remove the link ``` error: unresolved link to `systick` --> rtic-monotonics/src/lib.rs:7:11 | 7 | //! The [`systick`] monotonic works on all cortex-M parts, and requires that the feature `cortex-m-systick` is enabled. | ^^^^^^^ no item named `systick` in scope | = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` = note: `-D rustdoc::broken-intra-doc-links` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(rustdoc::broken_intra_doc_links)]` error: could not document `rtic-monotonics` ``` --- rtic-monotonics/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rtic-monotonics/src/lib.rs b/rtic-monotonics/src/lib.rs index 69925cba11..2d7c74f8b9 100644 --- a/rtic-monotonics/src/lib.rs +++ b/rtic-monotonics/src/lib.rs @@ -4,7 +4,7 @@ //! To enable the implementations, you must enable a feature for the specific MCU you're targeting. //! //! # Cortex-M Systick -//! The [`systick`] monotonic works on all cortex-M parts, and requires that the feature `cortex-m-systick` is enabled. +//! The `systick` monotonic works on all cortex-M parts, and requires that the feature `cortex-m-systick` is enabled. //! //! # RP2040 //! The RP2040 monotonics require that the `rp2040` feature is enabled.