Skip to content

Commit

Permalink
Rollup merge of #77295 - jethrogb:jb/unstable-book-asm, r=Amanieu
Browse files Browse the repository at this point in the history
Update unstable-book: Fix ABNF in inline assembly docs

r? @Amanieu
  • Loading branch information
RalfJung authored Sep 28, 2020
2 parents a966f54 + 6817b62 commit d9c1192
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/doc/unstable-book/src/library-features/asm.md
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,7 @@ reg_spec := <register class> / "<explicit register>"
operand_expr := expr / "_" / expr "=>" expr / expr "=>" "_"
reg_operand := dir_spec "(" reg_spec ")" operand_expr
operand := reg_operand / "const" const_expr / "sym" path
option := "pure" / "nomem" / "readonly" / "preserves_flags" / "noreturn" / "att_syntax"
option := "pure" / "nomem" / "readonly" / "preserves_flags" / "noreturn" / "nostack" / "att_syntax"
options := "options(" option *["," option] [","] ")"
asm := "asm!(" format_string *("," format_string) *("," [ident "="] operand) ["," options] [","] ")"
```
Expand Down

0 comments on commit d9c1192

Please sign in to comment.