rust/library/core/src
Jonas Schievink 7635462fe8
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.
2021-01-23 20:15:54 +01:00
..
alloc Auto merge of #79827 - tmiasko:size-align, r=kennytm 2021-01-03 03:43:29 +00:00
array Add [T; N]::each_ref and [T; N]::each_mut 2021-01-11 01:09:22 -08:00
char Rollup merge of #79502 - Julian-Wollersberger:from_char_for_u64, r=withoutboats 2021-01-10 16:55:53 +09:00
convert Deprecate-in-future the constants superceded by RFC 2700 2021-01-20 20:08:11 -05:00
fmt Rollup merge of #80991 - calebsander:fix/fmt-link, r=m-ou-se 2021-01-14 18:00:31 +00:00
future
hash
iter Auto merge of #80715 - JulianKnodt:skip_opt, r=nagisa 2021-01-23 09:25:11 +00:00
macros Fix formatting specifiers doc link 2021-01-13 15:05:39 -05:00
mem Rollup merge of #80600 - CoffeeBlend:maybe_uninit_array_assume_init, r=dtolnay 2021-01-12 16:13:24 +09:00
num Deprecate-in-future the constants superceded by RFC 2700 2021-01-20 20:08:11 -05:00
ops Add as_ref and as_mut methods for Bound 2021-01-13 21:16:26 -05:00
prelude
ptr Rollup merge of #79841 - fintelia:patch-6, r=kennytm 2021-01-23 20:15:54 +01:00
slice use raw-ptr-addr-of for slice::swap 2021-01-18 11:24:48 +01:00
str Auto merge of #77858 - ijackson:split-inclusive, r=KodrAus 2021-01-13 07:38:58 +00:00
sync Rollup merge of #80966 - KodrAus:deprecate/spin_loop_hint, r=m-ou-se 2021-01-14 18:00:14 +00:00
task stabilize the poll_map feature 2021-01-13 14:51:27 +10:00
unicode
any.rs
ascii.rs
bool.rs
borrow.rs Remove many unnecessary manual link resolves from library 2020-12-31 11:54:32 -08:00
cell.rs add tracking issue to cell_filter_map 2021-01-16 10:40:36 +10:00
clone.rs
cmp.rs Update cmp.rs 2021-01-17 16:11:48 +01:00
default.rs
ffi.rs
hint.rs Fixed documentation error 2021-01-03 19:54:54 +02:00
internal_macros.rs
intrinsics.rs Only inherit const stability for methods of impl const Trait blocks 2021-01-18 11:07:35 +00:00
lazy.rs
lib.rs use raw-ptr-addr-of for slice::swap 2021-01-18 11:24:48 +01:00
marker.rs
option.rs Remove many unnecessary manual link resolves from library 2020-12-31 11:54:32 -08:00
panic.rs
panicking.rs
pin.rs Remove many unnecessary manual link resolves from library 2020-12-31 11:54:32 -08:00
primitive.rs
raw.rs
result.rs Remove many unnecessary manual link resolves from library 2020-12-31 11:54:32 -08:00
time.rs
tuple.rs
unit.rs