diff options
| author | Gary Guo <gary@garyguo.net> | 2021-10-09 21:08:53 +0100 |
|---|---|---|
| committer | Gary Guo <gary@garyguo.net> | 2021-10-09 21:27:33 +0100 |
| commit | 7b5bedf709edc75dbe35e0dacd75c22702c81c8d (patch) | |
| tree | b68ab4871fb08417ec79dca0b66b74116234ff66 /src | |
| parent | 15491d7b6be1065217e09bd735e4ecffbe9838ba (diff) | |
| download | rust-7b5bedf709edc75dbe35e0dacd75c22702c81c8d.tar.gz rust-7b5bedf709edc75dbe35e0dacd75c22702c81c8d.zip | |
Fix ABNF of inline asm options
Diffstat (limited to 'src')
| -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: |
