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.
2 parents 1e32a80 + ea29748 commit c5c53c4Copy full SHA for c5c53c4
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