Skip to content

Commit

Permalink
Fix lint examples on non-x86_64
Browse files Browse the repository at this point in the history
  • Loading branch information
Amanieu committed Dec 14, 2021
1 parent d1204ac commit 6ab488a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions compiler/rustc_lint_defs/src/builtin.rs
Expand Up @@ -2420,6 +2420,7 @@ declare_lint! {
/// ### Example
///
/// ```rust
/// #[cfg(target_arch="x86_64")]
/// use std::arch::asm;
///
/// fn main() {
Expand Down Expand Up @@ -2455,6 +2456,7 @@ declare_lint! {
/// ### Example
///
/// ```rust
/// #[cfg(target_arch="x86_64")]
/// use std::arch::asm;
///
/// fn main() {
Expand Down

0 comments on commit 6ab488a

Please sign in to comment.