Skip to content

chore: mark code snippet in README.md no_run#81

Merged
t-moe merged 1 commit intoprobe-rs:masterfrom
kaspar030:no-run
Mar 27, 2026
Merged

chore: mark code snippet in README.md no_run#81
t-moe merged 1 commit intoprobe-rs:masterfrom
kaspar030:no-run

Conversation

@kaspar030
Copy link
Copy Markdown
Contributor

Fixes this clippy warning:

warning: unit tests in doctest are not executed
   --> src/../README.md:108:5
    |
108 |     #[test]
    |     ^^^^^^^
...
114 |     #[test]
    |     ^^^^^^^
...
123 |     #[test]
    |     ^^^^^^^
...
130 |     #[test]
    |     ^^^^^^^
...
136 |     #[test]
    |     ^^^^^^^
...
143 |     #[test]
    |     ^^^^^^^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.94.0/index.html#test_attr_in_doctest
    = note: `#[warn(clippy::test_attr_in_doctest)]` on by default

Signed-off-by: Kaspar Schleiser <kaspar@schleiser.de>
@t-moe t-moe merged commit 4210206 into probe-rs:master Mar 27, 2026
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants