mirror of
https://github.com/italicsjenga/rp-hal-boards.git
synced 2024-12-23 20:51:31 +11:00
Wrap intrinsics docstring to avoid breakage (#375)
* Wrap code in intrinsics docstring with a text block to fix CI breakage
This commit is contained in:
parent
b12aecb51c
commit
711694881d
|
@ -58,16 +58,17 @@ 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:
|
||||||
///
|
///
|
||||||
/// intrinsics! {
|
/// ```text
|
||||||
/// extern "C" fn foo(a: i32) -> u32 {
|
/// intrinsics! {
|
||||||
/// // ...
|
/// extern "C" fn foo(a: i32) -> u32 {
|
||||||
/// }
|
/// // ...
|
||||||
///
|
|
||||||
/// #[nonstandard_attribute]
|
|
||||||
/// extern "C" fn bar(a: i32) -> u32 {
|
|
||||||
/// // ...
|
|
||||||
/// }
|
|
||||||
/// }
|
/// }
|
||||||
|
/// #[nonstandard_attribute]
|
||||||
|
/// extern "C" fn bar(a: i32) -> u32 {
|
||||||
|
/// // ...
|
||||||
|
/// }
|
||||||
|
/// }
|
||||||
|
/// ```
|
||||||
///
|
///
|
||||||
/// Each function can also be decorated with nonstandard attributes to control
|
/// Each function can also be decorated with nonstandard attributes to control
|
||||||
/// additional behaviour:
|
/// additional behaviour:
|
||||||
|
|
Loading…
Reference in a new issue