Clarify pitfalls of references and NonNull in FFI #67234
Labels
A-docs
Area: Documentation for any part of the project, including the compiler, standard library, and tools
A-FFI
Area: Foreign function interface (FFI)
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
T-lang
Relevant to the language team, which will review and decide on the PR/issue.
Add a note like the one in this commit to the documentation of references and nonnull: fafa489
Something like what that commit does for
Box<T>
:but replacing
Box<T>
with the reference types andNonNull<T>
.The text was updated successfully, but these errors were encountered: