Skip to content

Commit f7cacd9

Browse files
Update src/items/functions.md
Co-Authored-By: Mazdak Farrokhzad <[email protected]>
1 parent 0ac3cb1 commit f7cacd9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/items/functions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ async unsafe fn unsafe_example(x: *const i32) -> i32 {
265265
}
266266
267267
async fn safe_example() {
268-
// Unsafe keyword required to invoke the function
268+
// An `unsafe` block is required to invoke the function initially:
269269
// initially:
270270
let p = 22;
271271
let future = unsafe { unsafe_example(&p) };

0 commit comments

Comments
 (0)