We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 9c26ebe + ebf46f7 commit 9c132b2Copy full SHA for 9c132b2
src/doc/style-guide/src/items.md
@@ -449,8 +449,8 @@ entries, format it across multiple lines as with a type alias.
449
## extern items
450
451
When writing extern items (such as `extern "C" fn`), always specify the ABI.
452
-For example, write `extern "C" fn foo ...`, not `extern fn foo ...`, or
453
-`extern "C" { ... }`.
+For example, write `extern "C" fn foo ...` or `unsafe extern "C" { ...}`
+and avoid `extern fn foo ...` and `unsafe extern { ... }`.
454
455
## Imports (`use` statements)
456
0 commit comments