Skip to content

Commit 95c7a9e

Browse files
committed
---
yaml --- r: 216447 b: refs/heads/stable c: 766c1bc h: refs/heads/master i: 216445: e5a2057 216443: 1c3cb23 216439: e357d10 216431: dd9351b 216415: 2b455d7 216383: ec22087 216319: f42ac85 v: v3
1 parent 64d1ead commit 95c7a9e

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,5 +29,5 @@ refs/heads/tmp: 378a370ff2057afeb1eae86eb6e78c476866a4a6
2929
refs/tags/1.0.0-alpha.2: 4c705f6bc559886632d3871b04f58aab093bfa2f
3030
refs/tags/homu-tmp: a5286998df566e736b32f6795bfc3803bdaf453d
3131
refs/tags/1.0.0-beta: 8cbb92b53468ee2b0c2d3eeb8567005953d40828
32-
refs/heads/stable: a70b2ed826d5e51429e035c6924c63c9511afeac
32+
refs/heads/stable: 766c1bc99283a553fe893469fafa1f7e82ac6157
3333
refs/tags/1.0.0: 55bd4f8ff2b323f317ae89e254ce87162d52a375

branches/stable/src/doc/trpl/inline-assembly.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ operand. This is useful for very low level programming, where
107107
which register you use is important:
108108

109109
```
110+
# #![feature(asm)]
110111
# #[cfg(any(target_arch = "x86", target_arch = "x86_64"))]
111112
# unsafe fn read_byte_in(port: u16) -> u8 {
112113
let result: u8;
@@ -163,5 +164,5 @@ unsafe {
163164
asm!("mov eax, 2" : "={eax}"(result) : : : "intel")
164165
}
165166
println!("eax is currently {}", result);
166-
# } }
167+
# }
167168
```

0 commit comments

Comments
 (0)