about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2021-09-10 08:23:27 -0700
committerGitHub <noreply@github.com>2021-09-10 08:23:27 -0700
commitf77311bc2b01a2708e5676a9a3bcb3d07d5040e2 (patch)
tree0d787018f0e7ee19f6a397b00552ef2dbc75712e /src
parent00553034db3847c61c8fc9c9e973997bf437df85 (diff)
parent5d4d3bdc74dd7449421cc5208cffb73c75e40283 (diff)
downloadrust-f77311bc2b01a2708e5676a9a3bcb3d07d5040e2.tar.gz
rust-f77311bc2b01a2708e5676a9a3bcb3d07d5040e2.zip
Rollup merge of #88812 - gz:patch-1, r=ehuss
Fix typo `option` -> `options`.
Diffstat (limited to 'src')
-rw-r--r--src/doc/unstable-book/src/library-features/asm.md2
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 a10928a7471..444b1cbf3cc 100644
--- a/src/doc/unstable-book/src/library-features/asm.md
+++ b/src/doc/unstable-book/src/library-features/asm.md
@@ -375,7 +375,7 @@ Any reuse of a named label, local or otherwise, can result in a assembler or lin
 
 As a consequence, you should only use GNU assembler **numeric** [local labels] inside inline assembly code. Defining symbols in assembly code may lead to assembler and/or linker errors due to duplicate symbol definitions.
 
-Moreover, on x86 when using the default intel syntax, due to [an llvm bug], you shouldn't use labels exclusively made of `0` and `1` digits, e.g. `0`, `11` or `101010`, as they may end up being interpreted as binary values. Using `option(att_syntax)` will avoid any ambiguity, but that affects the syntax of the _entire_ `asm!` block.
+Moreover, on x86 when using the default intel syntax, due to [an llvm bug], you shouldn't use labels exclusively made of `0` and `1` digits, e.g. `0`, `11` or `101010`, as they may end up being interpreted as binary values. Using `options(att_syntax)` will avoid any ambiguity, but that affects the syntax of the _entire_ `asm!` block.
 
 ```rust,allow_fail
 #![feature(asm)]