Skip to content

Commit 056d4e6

Browse files
authored
Merge pull request #1838 from folkertdev/c-variadic-remove-safe-keyword
remove the `safe` keyword from a c-variadic foreign function.
2 parents 8e0f593 + 3c50306 commit 056d4e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/items/external-blocks.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ identifier.
176176

177177
```rust
178178
unsafe extern "C" {
179-
safe fn foo(...);
179+
unsafe fn foo(...);
180180
unsafe fn bar(x: i32, ...);
181181
unsafe fn with_name(format: *const u8, args: ...);
182182
}

0 commit comments

Comments
 (0)