Skip to content

Commit 4fd6140

Browse files
authored
Merge pull request #2260 from qaijuang/156058-follow-up-pr
Place HRTB binders before fn qualifiers
2 parents 92ba1b7 + b4600c9 commit 4fd6140

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)