Skip to content

Commit dd47cde

Browse files
ehusstraviscross
authored andcommitted
Rename items.extern.fn-safety
This rule applies to both fn and static, so remove the "fn" part of the rule name.
1 parent 17e9160 commit dd47cde

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
@@ -28,7 +28,7 @@ r[items.extern.allowed-kinds]
2828
Two kinds of item _declarations_ are allowed in external blocks: [functions] and
2929
[statics].
3030

31-
r[items.extern.fn-safety]
31+
r[items.extern.safety]
3232
Calling unsafe functions or accessing unsafe statics that are declared in external blocks is only allowed in an `unsafe` context.
3333

3434
r[items.extern.namespace]

0 commit comments

Comments
 (0)