Fix lint examples on non-x86_64
This commit is contained in:
parent
d1204ac3b1
commit
6ab488af57
1 changed files with 2 additions and 0 deletions
|
|
@ -2420,6 +2420,7 @@ declare_lint! {
|
|||
/// ### Example
|
||||
///
|
||||
/// ```rust
|
||||
/// #[cfg(target_arch="x86_64")]
|
||||
/// use std::arch::asm;
|
||||
///
|
||||
/// fn main() {
|
||||
|
|
@ -2455,6 +2456,7 @@ declare_lint! {
|
|||
/// ### Example
|
||||
///
|
||||
/// ```rust
|
||||
/// #[cfg(target_arch="x86_64")]
|
||||
/// use std::arch::asm;
|
||||
///
|
||||
/// fn main() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue