Skip to content

Commit

Permalink
Stop saying that const functions cannot use 'extern'
Browse files Browse the repository at this point in the history
  • Loading branch information
mattheww committed May 7, 2022
1 parent fd564da commit 921ed7c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/items/functions.md
Original file line number Diff line number Diff line change
Expand Up @@ -216,8 +216,7 @@ Functions qualified with the `const` keyword are [const functions], as are
[tuple struct] and [tuple variant] constructors. _Const functions_ can be
called from within [const contexts].

Const functions are not allowed to be [async](#async-functions), and cannot
use the [`extern` function qualifier](#extern-function-qualifier).
Const functions are not allowed to be [async](#async-functions).

## Async functions

Expand Down

0 comments on commit 921ed7c

Please sign in to comment.