about summary refs log tree commit diff
path: root/compiler/rustc_codegen_ssa/src
diff options
context:
space:
mode:
authorJonas Schievink <jonasschievink@gmail.com>2021-01-23 20:15:54 +0100
committerGitHub <noreply@github.com>2021-01-23 20:15:54 +0100
commit7635462fe8f5ad46cbf24344805f75f8209747dd (patch)
tree10d73404496f9c26f559b8dc13295f530ee0ce2e /compiler/rustc_codegen_ssa/src
parent4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5 (diff)
parent0392085f5ce9ed610a95cc7b956545b0fd26252a (diff)
downloadrust-7635462fe8f5ad46cbf24344805f75f8209747dd.tar.gz
rust-7635462fe8f5ad46cbf24344805f75f8209747dd.zip
Rollup merge of #79841 - fintelia:patch-6, r=kennytm
More clear documentation for NonNull<T>

Rephrase and hopefully clarify the discussion of covariance in `NonNull<T>` documentation.

I'm very much not an expert so someone should definitely double check the correctness of what I'm saying. At the same time, the new language makes more sense to me, so hopefully it also is more logical to others whose knowledge of covariance basically begins and ends with the [Rustonomicon chapter](https://doc.rust-lang.org/nomicon/subtyping.html).

Related to #48929.
Diffstat (limited to 'compiler/rustc_codegen_ssa/src')
0 files changed, 0 insertions, 0 deletions