We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e32a80 commit ea29748Copy full SHA for ea29748
content/Rust-1.88.0.md
@@ -50,7 +50,7 @@ For example:
50
51
```rust
52
#[unsafe(naked)]
53
-pub unsafe extern "sysv64" fn wrapping_add(a: u64, b: u64) {
+pub unsafe extern "sysv64" fn wrapping_add(a: u64, b: u64) -> u64 {
54
// Equivalent to `a.wrapping_add(b)`.
55
core::arch::naked_asm!(
56
"add rax, rdi, rsi",
0 commit comments