From 2e59ac0e71ebd1a86447ecf4687b41758ba9e289 Mon Sep 17 00:00:00 2001 From: Tshepang Mbambo Date: Sat, 5 Nov 2022 05:32:16 +0200 Subject: [PATCH] replace tabs with spaces (#1504) --- src/asm.md | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/src/asm.md b/src/asm.md index dab02cc00..9b5a82f34 100644 --- a/src/asm.md +++ b/src/asm.md @@ -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, span: Span }, + String(String), + Placeholder { operand_idx: usize, modifier: Option, span: Span }, } ``` @@ -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; + } } ```