summaryrefslogtreecommitdiff
path: root/rust/macros/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'rust/macros/lib.rs')
-rw-r--r--rust/macros/lib.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/rust/macros/lib.rs b/rust/macros/lib.rs
index 8c7b786377ee..0bd97c3a4e30 100644
--- a/rust/macros/lib.rs
+++ b/rust/macros/lib.rs
@@ -272,7 +272,7 @@ pub fn concat_idents(ts: TokenStream) -> TokenStream {
///
/// # Examples
///
-/// ```
+/// ```ignore
/// # #![feature(lint_reasons)]
/// # use kernel::prelude::*;
/// # use std::{sync::Mutex, process::Command};
@@ -285,7 +285,7 @@ pub fn concat_idents(ts: TokenStream) -> TokenStream {
/// }
/// ```
///
-/// ```
+/// ```ignore
/// # #![feature(lint_reasons)]
/// # use kernel::prelude::*;
/// # use std::{sync::Mutex, process::Command};
@@ -326,7 +326,7 @@ pub fn pin_data(inner: TokenStream, item: TokenStream) -> TokenStream {
///
/// # Examples
///
-/// ```
+/// ```ignore
/// # #![feature(lint_reasons)]
/// # use kernel::prelude::*;
/// # use macros::{pin_data, pinned_drop};
@@ -502,7 +502,7 @@ pub fn paste(input: TokenStream) -> TokenStream {
///
/// # Examples
///
-/// ```
+/// ```ignore
/// use kernel::macros::Zeroable;
///
/// #[derive(Zeroable)]