Skip to content

Commit 07a109a

Browse files
committed
Rename items.extern.fn-safety
This rule applies to both fn and static, so remove the "fn" part of the rule name.
1 parent 849dd3a commit 07a109a

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)