replace tabs with spaces (#1504)

This commit is contained in:
Tshepang Mbambo 2022-11-05 05:32:16 +02:00 committed by GitHub
parent 43e41174c0
commit 2bdb02c587
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 13 additions and 13 deletions

View File

@ -13,8 +13,8 @@ represents either a literal or a placeholder for an operand (just like format st
```rust ```rust
pub enum InlineAsmTemplatePiece { pub enum InlineAsmTemplatePiece {
String(String), String(String),
Placeholder { operand_idx: usize, modifier: Option<char>, span: Span }, Placeholder { operand_idx: usize, modifier: Option<char>, span: Span },
} }
``` ```
@ -38,17 +38,17 @@ string parsing. The remaining options are mostly passed through to LLVM with lit
```rust ```rust
bitflags::bitflags! { bitflags::bitflags! {
pub struct InlineAsmOptions: u16 { pub struct InlineAsmOptions: u16 {
const PURE = 1 << 0; const PURE = 1 << 0;
const NOMEM = 1 << 1; const NOMEM = 1 << 1;
const READONLY = 1 << 2; const READONLY = 1 << 2;
const PRESERVES_FLAGS = 1 << 3; const PRESERVES_FLAGS = 1 << 3;
const NORETURN = 1 << 4; const NORETURN = 1 << 4;
const NOSTACK = 1 << 5; const NOSTACK = 1 << 5;
const ATT_SYNTAX = 1 << 6; const ATT_SYNTAX = 1 << 6;
const RAW = 1 << 7; const RAW = 1 << 7;
const MAY_UNWIND = 1 << 8; const MAY_UNWIND = 1 << 8;
} }
} }
``` ```