diff --git a/reference/src/layout/function-pointers.md b/reference/src/layout/function-pointers.md index 71555b00..3188fb05 100644 --- a/reference/src/layout/function-pointers.md +++ b/reference/src/layout/function-pointers.md @@ -26,7 +26,7 @@ or the address of a function. ### Representation The ABI and layout of `(unsafe)? (extern "ABI")? fn(Args...) -> Ret` -is exactly that of the corresonding C type -- +is exactly that of the corresponding C type -- the lack of a null value does not change this. On common platforms, this means that `*const ()` and `fn(Args...) -> Ret` have the same ABI and layout. This is, in fact, guaranteed by POSIX and Windows.