mirror of
https://github.com/italicsjenga/rp-hal-boards.git
synced 2024-12-23 20:51:31 +11:00
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 https://github.com/rust-lang/rust/issues/97030#issuecomment-1134499264 this is the proper fix, so this closes #374
This commit is contained in:
parent
803f582e0f
commit
0f5bc072cd
|
@ -58,7 +58,7 @@ macro_rules! intrinsics_aliases {
|
||||||
/// Like the compiler-builtins macro, it accepts a series of functions that
|
/// Like the compiler-builtins macro, it accepts a series of functions that
|
||||||
/// looks like normal Rust code:
|
/// looks like normal Rust code:
|
||||||
///
|
///
|
||||||
/// ```text
|
/// ```ignore
|
||||||
/// intrinsics! {
|
/// intrinsics! {
|
||||||
/// extern "C" fn foo(a: i32) -> u32 {
|
/// extern "C" fn foo(a: i32) -> u32 {
|
||||||
/// // ...
|
/// // ...
|
||||||
|
|
Loading…
Reference in a new issue