about summary refs log tree commit diff
path: root/src/libcore/cell.rs
AgeCommit message (Collapse)AuthorLines
2018-07-25Enforce #![deny(bare_trait_objects)] in src/libcoreljedrz-3/+3
2018-07-23use inherent method insteadF001-12/+20
2018-07-18revert DerefF001-17/+9
2018-07-17impl DerefMut for Cell<[T]>F001-0/+10
2018-07-17code style fixesF001-2/+4
2018-07-17impl `Deref` instead of `Index`F001-10/+8
2018-07-17use lifetime elision for consistencyF001-1/+1
2018-07-17remove "get_with" methodF001-24/+2
2018-07-17implement rfc 1789F001-44/+103
2018-07-04Auto merge of #51395 - SimonSapin:repr-transparent, r=SimonSapinbors-0/+2
Add #[repr(transparent)] to some libcore types * `UnsafeCell` * `Cell` * `NonZero*` * `NonNull` * `Unique` CC https://github.com/rust-lang/rust/issues/43036
2018-06-27Optimize RefCell refcount trackingJoshua Liebow-Feeser-30/+36
2018-06-16Add #[repr(transparent)] to some libcore typesSimon Sapin-0/+2
* `UnsafeCell` * `Cell` * `NonZero*` * `NonNull` * `Unique`
2018-06-13Add Ref/RefMut map_split methodJoshua Liebow-Feeser-19/+126
2018-05-23Rollup merge of #50913 - d-e-s-o:fix-typo, r=joshtriplettkennytm-1/+1
Fix typo in cell.rs
2018-05-19Fix typo in cell.rsDaniel Mueller-1/+1
2018-05-19UnsafeCell doc typos and minor flow improvementsJake Goulding-13/+14
2018-04-23Assign the tracking issueStjepan Glavina-1/+1
2018-04-23Clarify the docs for Cell::updateStjepan Glavina-2/+3
2018-04-06Fix the failing testsStjepan Glavina-0/+2
2018-04-06Change TODO to FIXMEStjepan Glavina-1/+1
2018-04-06Add Cell::updateStjepan Glavina-0/+24
2018-03-17Remove deprecated unstable ptr::Shared type alias.Simon Sapin-3/+2
It has been deprecated for about one release cycle.
2018-03-13Rollup merge of #48201 - NovemberZulu:master, r=steveklabnikkennytm-15/+36
rephrase UnsafeCell doc As shown by discussions on users.rust-lang.org [[1]], [[2]], UnsafeCell doc is not totally clear. I tried to made the doc univocal regarding what is allowed and what is not. The edits are based on my understanding following [[1]]. [1]: https://users.rust-lang.org/t/unsafecell-behavior-details/1560 [2]: https://users.rust-lang.org/t/is-there-a-better-way-to-overload-index-indexmut-for-a-rc-refcell/15591/12
2018-03-08and again :(Maxim Nazarenko-3/+3
2018-03-08tidy. AgainMaxim Nazarenko-2/+2
2018-03-08another rewriteMaxim Nazarenko-15/+31
based on @nikomatsakis texthg
2018-03-06Rollup merge of #48474 - christianpoveda:new_cell_docs, r=steveklabnikkennytm-0/+18
New Cell docs This fixes https://github.com/rust-lang/rust/issues/44061
2018-02-27and some more tidy checksMaxim Nazarenko-2/+2
2018-02-27fix tidy checksMaxim Nazarenko-3/+3
2018-02-27SimplifyMaxim Nazarenko-5/+9
Merge three rules into one following @cramertj
2018-02-27style fixMaxim Nazarenko-1/+1
2018-02-27fix wording on panics in binary operators on RefCells"Mazdak Farrokhzad-7/+7
2018-02-27remove italicMaxim Nazarenko-2/+2
remove italic as per @GuillaumeGomez suggestion
2018-02-26some grammar correctionsChristian Poveda-6/+7
2018-02-25fixed linksChristian Poveda-2/+2
2018-02-24corrected grammar errorsChristian Poveda-4/+4
2018-02-24added link to sync containersChristian Poveda-1/+2
2018-02-23cleaned trailing whitespacesChristian Poveda-2/+2
2018-02-23remove redundant infoChristian Poveda-5/+5
2018-02-23add info about syncChristian Poveda-1/+3
2018-02-22First versionChristian Poveda-1/+15
2018-02-20RefCell: document panics in Clone, PartialEq, PartialOrd, Ord. Fixes #47400Mazdak Farrokhzad-0/+24
2018-02-14fix tidy checksMaxim Nazarenko-2/+2
2018-02-14rephrase UnsafeCell docMaxim Nazarenko-8/+9
Make UnsafeCell doc easier to follow
2018-01-05Make UnsafeCell::into_inner safevarkor-9/+4
This fixes #35067. It will require a Crater run as discussed in that issue.
2017-12-20Rollup merge of #46517 - notriddle:patch-2, r=BurntSushikennytm-4/+2
Stablize RefCell::{replace, swap} RefCell::replace_with is not stablized in this PR, since it wasn't part of the RFC. CC #43570
2017-12-06more commentsAriel Ben-Yehuda-1/+1
2017-12-06adjust libcoreAriel Ben-Yehuda-2/+4
2017-12-05Update cell.rsMichael Howell-3/+3
2017-12-05Move replace_with to its own feature flagMichael Howell-1/+1
I'm not allowed to have the same feature flag associated with multiple stability levels.