Skip to content

Commit 0f5bc07

Browse files
authored
Use ignore instead of text (#378)
While the code block fails to compile, it's still code and not random text. Marking it with `ignore` allows for proper syntax highlighting, for example. According to rust-lang/rust#97030 (comment) this is the proper fix, so this closes #374
1 parent 803f582 commit 0f5bc07

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rp2040-hal/src/intrinsics.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ macro_rules! intrinsics_aliases {
5858
/// Like the compiler-builtins macro, it accepts a series of functions that
5959
/// looks like normal Rust code:
6060
///
61-
/// ```text
61+
/// ```ignore
6262
/// intrinsics! {
6363
/// extern "C" fn foo(a: i32) -> u32 {
6464
/// // ...

0 commit comments

Comments
 (0)