Skip to content

Commit b4600c9

Browse files
committed
external-blocks: place HRTB binders before fn qualifiers
1 parent 4f86eeb commit b4600c9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/items/external-blocks.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ r[items.extern.fn.safety]
5757
A function declared in an extern block is implicitly `unsafe` unless the `safe` function qualifier is present.
5858

5959
r[items.extern.fn.fn-ptr]
60-
When coerced to a function pointer, a function declared in an extern block has type `extern "abi" for<'l1, ..., 'lm> fn(A1, ..., An) -> R`, where `'l1`, ... `'lm` are its lifetime parameters, `A1`, ..., `An` are the declared types of its parameters, and `R` is the declared return type.
60+
When coerced to a function pointer, a function declared in an extern block has type `for<'l1, ..., 'lm> extern "abi" fn(A1, ..., An) -> R`, where `'l1`, ... `'lm` are its lifetime parameters, `A1`, ..., `An` are the declared types of its parameters, and `R` is the declared return type.
6161

6262
r[items.extern.static]
6363
## Statics

0 commit comments

Comments
 (0)