Skip to content

Commit 1b7a454

Browse files
committed
Fix incorrect syntax in example
1 parent 19f3c52 commit 1b7a454

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/inline-assembly.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ All other named and positional operands must appear at least once in the templat
194194
let x = 5;
195195
# #[cfg(target_arch = "x86_64")] {
196196
// We have to name all of the operands in the format string
197-
unsafe { core::arch::asm!("". in(reg) 5, x = const 5); }
197+
unsafe { core::arch::asm!("", in(reg) 5, x = const 5); }
198198
# }
199199
# #[cfg(not(target_arch = "x86_64"))] core::compile_error!("Test not supported on this arch");
200200
```

0 commit comments

Comments
 (0)