align code blocks with their paragraphs

This commit is contained in:
Tshepang Mbambo 2022-11-04 03:40:37 +02:00
parent 100e801b36
commit f51a573c19
1 changed files with 23 additions and 21 deletions

View File

@ -10,6 +10,7 @@ through all of the compiler layers down to LLVM codegen. Throughout the various
- The template string, which is stored as an array of `InlineAsmTemplatePiece`. Each piece
represents either a literal or a placeholder for an operand (just like format strings).
```rust
pub enum InlineAsmTemplatePiece {
String(String),
@ -34,6 +35,7 @@ or a `fn`.
- The options set at the end of the `asm!` macro. The only ones that are of particular interest to
rustc are `NORETURN` which makes `asm!` return `!` instead of `()`, and `RAW` which disables format
string parsing. The remaining options are mostly passed through to LLVM with little processing.
```rust
bitflags::bitflags! {
pub struct InlineAsmOptions: u16 {