summaryrefslogtreecommitdiff
path: root/src/libcore/ptr
Commit message (Expand)AuthorAgeFilesLines
* mv std libs to library/mark2020-07-275-4147/+0
* Rollup merge of #74141 - euclio:typos, r=steveklabnikManish Goregaokar2020-07-233-7/+7
|\
| * libstd/libcore: fix various typosAndy Russell2020-07-093-7/+7
* | Apply #66379 to `*mut T` `as_ref`aticu2020-07-201-7/+12
* | apply bootstrap cfgsMark Rousskov2020-07-162-4/+0
* | assign tracking issueRalf Jung2020-07-123-9/+9
* | add (unchecked) indexing methods to raw pointers and NonNullRalf Jung2020-07-053-14/+102
* | call the mut version as_mut_ptr and also add an as_ptr-like method to NonNull...Ralf Jung2020-07-052-2/+22
* | add as_ptr method to raw slicesRalf Jung2020-07-052-0/+42
|/
* Deny unsafe ops in unsafe fns, part 6LeSeulArtichaut2020-06-305-69/+174
* Fix ptr doc warnings.Eric Huss2020-06-232-4/+0
* Rollup merge of #73398 - oli-obk:const_raw_ptr_cmp, r=varkor,RalfJung,nagisaManish Goregaokar2020-06-232-0/+132
|\
| * Address review commentsOliver Scherer2020-06-202-4/+4
| * Add fuzzy pointer comparison intrinsicsOliver Scherer2020-06-192-0/+132
* | deprecate wrapping_offset_fromRalf Jung2020-06-212-0/+13
|/
* Rollup merge of #73054 - RalfJung:dont-panic, r=Mark-SimulacrumRalf Jung2020-06-191-7/+21
|\
| * memory access sanity checks: abort instead of panicRalf Jung2020-06-161-7/+21
* | Rollup merge of #72279 - RalfJung:raw-ref-macros, r=nikomatsakisManish Goregaokar2020-06-181-0/+67
|\ \ | |/ |/|
| * add tracking issueRalf Jung2020-06-161-2/+2
| * add raw_ref macrosRalf Jung2020-06-121-0/+67
* | Rollup merge of #72906 - lzutao:migrate-numeric-assoc-consts, r=dtolnayDylan DPC2020-06-122-4/+4
|\ \ | |/ |/|
| * Migrate to numeric associated constsLzu Tao2020-06-102-4/+4
* | [AVR] Fix debug printing of function pointersDylan McKay2020-06-091-2/+12
|/
* core: Make pointer offset methods "const fn"Joe Richey2020-05-252-12/+24
* Apply suggestions from code reviewSimon Sapin2020-05-181-4/+4
* Add `len` and `slice_from_raw_parts` to `NonNull<[T]>`Simon Sapin2020-05-181-0/+59
* make many ptr functions must_usesteveklabnik-must-useSteve Klabnik2020-05-172-0/+12
* Rollup merge of #71625 - Diggsey:improve-manually-drop-docs, r=RalfJungDylan DPC2020-05-161-1/+7
|\
| * Improve the documentation for ManuallyDrop to resolve conflicting usage of te...Diggory Blake2020-05-151-1/+7
* | Document unsafety for `*const T` and `*mut T`LeSeulArtichaut2020-05-012-4/+8
* | rename-unique: Rename Unique::empty() to Unique::dangling()cohenarthur2020-04-301-2/+1
* | Rollup merge of #71507 - CohenArthur:document-unsafe-libcore-ptr, r=Mark-Simu...Dylan DPC2020-04-293-7/+45
|\ \ | |/ |/|
| * safety-ptr: Add SAFETY on some unsafe blocks from libcore/ptrcohenarthur2020-04-293-3/+43
| * doc-example: Refactor pointer name to avoid confusioncohenarthur2020-04-231-4/+2
* | remove Unique::from for shared pointer typesRalf Jung2020-04-261-17/+0
* | Bump bootstrap compilerMark Rousskov2020-04-252-2/+0
|/
* Inline some function docs re-exported in `std::ptr`Dylan MacKenzie2020-04-221-0/+3
* ptr: add tracking issue for len() method on raw slicesMatthias Schiffer2020-04-142-4/+4
* ptr: introduce len() method on raw slicesMatthias Schiffer2020-04-142-2/+50
* ptr: implement "const_slice_ptr" and "mut_slice_ptr" lang itemsMatthias Schiffer2020-04-142-0/+8
* Replace max/min_value() with MAX/MIN assoc constsLinus Färnstrand2020-04-032-4/+4
* debug-assert ptr sanity in ptr::writeRalf Jung2020-03-141-3/+1
* fix various typosMatthias Krüger2020-03-063-10/+10
* Auto merge of #69208 - RalfJung:debug-assert, r=Mark-Simulacrumbors2020-02-291-1/+13
|\
| * disable debug assertion in ptr::write for nowRalf Jung2020-02-271-1/+3
| * debug_assert a few more raw pointer methodsRalf Jung2020-02-161-1/+11
* | Improve #Safety of core::ptr::drop_in_placeAmos Onn2020-02-161-1/+4
* | Improve #Safety in various methods in core::ptrAmos Onn2020-02-151-0/+8
* | Improve #Safety of core::ptr::replaceAmos Onn2020-02-151-1/+1
* | Improve #Safety in various methods in core::ptrAmos Onn2020-02-151-2/+2
|/