diff options
author | 2023-11-08 21:39:12 +0100 | |
---|---|---|
committer | 2023-11-08 20:43:32 +0000 | |
commit | ea8b5b6c334113fffeadd11f36d6dbb27988d624 (patch) | |
tree | 7d769afbfbb381e28710373b4292a42b82fbb849 | |
parent | 4425b76c6f25a782ea2c473adfa99aec1e5795ac (diff) | |
download | rtic-ea8b5b6c334113fffeadd11f36d6dbb27988d624.tar.gz rtic-ea8b5b6c334113fffeadd11f36d6dbb27988d624.tar.zst rtic-ea8b5b6c334113fffeadd11f36d6dbb27988d624.zip |
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`
```
-rw-r--r-- | rtic-monotonics/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rtic-monotonics/src/lib.rs b/rtic-monotonics/src/lib.rs index 69925cba..2d7c74f8 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. |