diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2021-10-10 18:22:22 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-10-10 18:22:22 +0200 |
| commit | 8aec76caf8b0dba8a53432e4af81dbe0f87356e4 (patch) | |
| tree | 4693e3e934e8e9ed1ca3ff2b86df85f7eec333d0 | |
| parent | ce6097dfa41f382eecd7ebf19cc58346339bb008 (diff) | |
| parent | 7b5bedf709edc75dbe35e0dacd75c22702c81c8d (diff) | |
| download | rust-8aec76caf8b0dba8a53432e4af81dbe0f87356e4.tar.gz rust-8aec76caf8b0dba8a53432e4af81dbe0f87356e4.zip | |
Rollup merge of #89713 - nbdd0121:doc2, r=Amanieu
Fix ABNF of inline asm options This is the case since #73227. r? `@camelid`
| -rw-r--r-- | src/doc/unstable-book/src/library-features/asm.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/unstable-book/src/library-features/asm.md b/src/doc/unstable-book/src/library-features/asm.md index a2afa88028f..5a2cef24870 100644 --- a/src/doc/unstable-book/src/library-features/asm.md +++ b/src/doc/unstable-book/src/library-features/asm.md @@ -456,7 +456,7 @@ operand := reg_operand / "const" const_expr / "sym" path clobber_abi := "clobber_abi(" <abi> ")" option := "pure" / "nomem" / "readonly" / "preserves_flags" / "noreturn" / "nostack" / "att_syntax" / "raw" options := "options(" option *["," option] [","] ")" -asm := "asm!(" format_string *("," format_string) *("," [ident "="] operand) ["," clobber_abi] ["," options] [","] ")" +asm := "asm!(" format_string *("," format_string) *("," [ident "="] operand) ["," clobber_abi] *("," options) [","] ")" ``` Inline assembly is currently supported on the following architectures: |
