Skip to content

Commit

Permalink
replace tabs with spaces (rust-lang#1504)
Browse files Browse the repository at this point in the history
  • Loading branch information
tshepang authored Nov 5, 2022
1 parent f51a573 commit 2e59ac0
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions src/asm.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ represents either a literal or a placeholder for an operand (just like format st

```rust
pub enum InlineAsmTemplatePiece {
String(String),
Placeholder { operand_idx: usize, modifier: Option<char>, span: Span },
String(String),
Placeholder { operand_idx: usize, modifier: Option<char>, span: Span },
}
```

Expand All @@ -38,17 +38,17 @@ string parsing. The remaining options are mostly passed through to LLVM with lit

```rust
bitflags::bitflags! {
pub struct InlineAsmOptions: u16 {
const PURE = 1 << 0;
const NOMEM = 1 << 1;
const READONLY = 1 << 2;
const PRESERVES_FLAGS = 1 << 3;
const NORETURN = 1 << 4;
const NOSTACK = 1 << 5;
const ATT_SYNTAX = 1 << 6;
const RAW = 1 << 7;
const MAY_UNWIND = 1 << 8;
}
pub struct InlineAsmOptions: u16 {
const PURE = 1 << 0;
const NOMEM = 1 << 1;
const READONLY = 1 << 2;
const PRESERVES_FLAGS = 1 << 3;
const NORETURN = 1 << 4;
const NOSTACK = 1 << 5;
const ATT_SYNTAX = 1 << 6;
const RAW = 1 << 7;
const MAY_UNWIND = 1 << 8;
}
}
```

Expand Down

0 comments on commit 2e59ac0

Please sign in to comment.