rust/src/libcore
Michal 'vorner' Vaner 18f41e54d9
Suggest direct raw-pointer dereference
People often come looking for some kind of `as_ref_unchecked` method on
raw pointers that would give them `&T` and not `Option<&T>` when they
are sure the pointer is not NULL.

There's no such method, but taking a reference of the dereferenced
pointer accomplishes the same thing. Therefore, suggest using that, at
the `as_ref` site ‒ it's a place people are likely going to look into.
2018-08-21 20:03:54 +02:00
..
benches
char Rollup merge of #53059 - ljedrz:unneeded_returns, r=kennytm 2018-08-12 23:26:51 +02:00
fmt Enforce #![deny(bare_trait_objects)] in src/libcore 2018-07-25 10:21:41 +09:00
future Implement Unpin for FutureObj and LocalFutureObj 2018-07-30 09:42:34 -07:00
hash
iter Fix since of Iterator::flatten to be a proper semver 2018-08-15 19:28:42 +03:00
num Gratuitous at byte boundaries in hex i32 literals in some doc-tests 2018-08-17 14:01:57 +02:00
ops Fix a typo in unsize.rs 2018-07-31 16:28:50 +03:00
prelude Drop identity from prelude. 2018-08-19 18:36:18 +02:00
slice Auto merge of #52972 - RalfJung:from_raw_parts_align, r=alexcrichton 2018-08-19 09:40:36 +00:00
str Rollup merge of #53273 - frewsxcv:frewsxcv-ufffd, r=GuillaumeGomez 2018-08-12 23:27:04 +02:00
sync Make core::sync::atomic::Ordering #[non_exhaustive] 2018-08-15 17:11:42 +01:00
task Rename Executor trait to Spawn 2018-08-06 12:18:47 +02:00
tests Auto merge of #52972 - RalfJung:from_raw_parts_align, r=alexcrichton 2018-08-19 09:40:36 +00:00
unicode Auto merge of #51609 - dscorbett:is_numeric, r=alexcrichton 2018-08-01 17:44:25 +00:00
alloc.rs Remove explicit returns where unnecessary 2018-08-04 14:31:03 +02:00
any.rs Enforce #![deny(bare_trait_objects)] in src/libcore 2018-07-25 10:21:41 +09:00
array.rs
ascii.rs
borrow.rs
Cargo.toml
cell.rs Remove redundant field names in structs 2018-08-04 14:58:20 +02:00
clone.rs
cmp.rs inline some short functions 2018-08-09 01:27:48 -08:00
convert.rs core::convert::identity: fix issue number to #53500 2018-08-20 09:16:56 +02:00
default.rs
hint.rs
internal_macros.rs
intrinsics.rs Switch to bootstrapping from 1.29 beta 2018-08-01 11:59:08 -06:00
iter_private.rs
lib.rs remove feature(convert_id) from lib{core,std}/lib.rs 2018-08-19 19:25:35 +02:00
macros.rs Don't accept none str literals for the format string in writeln 2018-08-10 19:01:54 +01:00
marker.rs Fix doc link (again) 2018-08-05 07:52:29 +02:00
mem.rs repr(transparent) 2018-08-09 11:56:01 +02:00
nonzero.rs
option.rs inline some short functions 2018-08-09 01:27:48 -08:00
panic.rs Enforce #![deny(bare_trait_objects)] in src/libcore 2018-07-25 10:21:41 +09:00
panicking.rs
ptr.rs Suggest direct raw-pointer dereference 2018-08-21 20:03:54 +02:00
raw.rs
result.rs inline some short functions 2018-08-09 01:27:48 -08:00
time.rs Remove redundant field names in structs 2018-08-04 14:58:20 +02:00
tuple.rs
unit.rs