Skip to content

Commit d9c1192

Browse files
authored
Rollup merge of #77295 - jethrogb:jb/unstable-book-asm, r=Amanieu
Update unstable-book: Fix ABNF in inline assembly docs r? @Amanieu
2 parents a966f54 + 6817b62 commit d9c1192

File tree

1 file changed

+1
-1
lines changed
  • src/doc/unstable-book/src/library-features

1 file changed

+1
-1
lines changed

src/doc/unstable-book/src/library-features/asm.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -410,7 +410,7 @@ reg_spec := <register class> / "<explicit register>"
410410
operand_expr := expr / "_" / expr "=>" expr / expr "=>" "_"
411411
reg_operand := dir_spec "(" reg_spec ")" operand_expr
412412
operand := reg_operand / "const" const_expr / "sym" path
413-
option := "pure" / "nomem" / "readonly" / "preserves_flags" / "noreturn" / "att_syntax"
413+
option := "pure" / "nomem" / "readonly" / "preserves_flags" / "noreturn" / "nostack" / "att_syntax"
414414
options := "options(" option *["," option] [","] ")"
415415
asm := "asm!(" format_string *("," format_string) *("," [ident "="] operand) ["," options] [","] ")"
416416
```

0 commit comments

Comments
 (0)