Mark Rousskov
|
2a663555dd
|
Remove licenses
|
2018-12-25 21:08:33 -07:00 |
|
Alexander Regueiro
|
ee89c088b0
|
Various minor/cosmetic improvements to code
|
2018-12-07 23:53:34 +00:00 |
|
Ralf Jung
|
25d46f3091
|
add comment explaining why what we do is legal
|
2018-11-17 10:20:28 +01:00 |
|
Ralf Jung
|
41434e001b
|
avoid shared ref in UnsafeCell::get
|
2018-11-16 22:17:26 +01:00 |
|
Mazdak Farrokhzad
|
e15c62d61f
|
revert making internal APIs const fn.
|
2018-11-10 01:10:07 +01:00 |
|
Mazdak Farrokhzad
|
5b89877dda
|
constify parts of libcore.
|
2018-11-10 01:07:32 +01:00 |
|
Geoffry Song
|
6df57a7d68
|
Slight copy-editing for std::cell::Cell docs
Hopefully this is a bit more precise and also more correct English.
|
2018-10-26 12:09:41 -07:00 |
|
Scott McMurray
|
0a3bd9b6ab
|
Use impl_header_lifetime_elision in libcore
|
2018-09-29 21:33:35 -07:00 |
|
ljedrz
|
d46dca66c9
|
Remove redundant field names in structs
|
2018-08-04 14:58:20 +02:00 |
|
ljedrz
|
8646a17143
|
Enforce #![deny(bare_trait_objects)] in src/libcore
|
2018-07-25 10:21:41 +09:00 |
|
F001
|
489101cc45
|
use inherent method instead
|
2018-07-23 20:58:40 +08:00 |
|
F001
|
8812c6bae9
|
revert Deref
|
2018-07-18 12:30:20 +08:00 |
|
F001
|
3eee486e27
|
impl DerefMut for Cell<[T]>
|
2018-07-17 11:34:19 +08:00 |
|
F001
|
b1344abc58
|
code style fixes
|
2018-07-17 11:34:19 +08:00 |
|
F001
|
bdf86300b4
|
impl Deref instead of Index
|
2018-07-17 11:34:19 +08:00 |
|
F001
|
4d99957ce3
|
use lifetime elision for consistency
|
2018-07-17 11:34:19 +08:00 |
|
F001
|
4bf8b57950
|
remove "get_with" method
|
2018-07-17 11:34:19 +08:00 |
|
F001
|
9928baa786
|
implement rfc 1789
|
2018-07-17 11:34:19 +08:00 |
|
bors
|
0ad8f9e5b1
|
Auto merge of #51395 - SimonSapin:repr-transparent, r=SimonSapin
Add #[repr(transparent)] to some libcore types
* `UnsafeCell`
* `Cell`
* `NonZero*`
* `NonNull`
* `Unique`
CC https://github.com/rust-lang/rust/issues/43036
|
2018-07-04 16:21:42 +00:00 |
|
Joshua Liebow-Feeser
|
851cc39503
|
Optimize RefCell refcount tracking
|
2018-06-27 00:07:18 -07:00 |
|
Simon Sapin
|
530d7bc517
|
Add #[repr(transparent)] to some libcore types
* `UnsafeCell`
* `Cell`
* `NonZero*`
* `NonNull`
* `Unique`
|
2018-06-16 18:25:15 +02:00 |
|
Joshua Liebow-Feeser
|
2a999b4b52
|
Add Ref/RefMut map_split method
|
2018-06-13 11:35:39 -07:00 |
|
kennytm
|
e51b35e26f
|
Rollup merge of #50913 - d-e-s-o:fix-typo, r=joshtriplett
Fix typo in cell.rs
|
2018-05-23 00:26:12 +08:00 |
|
Daniel Mueller
|
e2f0cc084f
|
Fix typo in cell.rs
|
2018-05-19 20:40:11 -07:00 |
|
Jake Goulding
|
52249e357d
|
UnsafeCell doc typos and minor flow improvements
|
2018-05-19 21:10:24 -04:00 |
|
Stjepan Glavina
|
29e9de85d6
|
Assign the tracking issue
|
2018-04-23 20:34:49 +02:00 |
|
Stjepan Glavina
|
1c0db245e0
|
Clarify the docs for Cell::update
|
2018-04-23 20:23:04 +02:00 |
|
Stjepan Glavina
|
5dcce51946
|
Fix the failing tests
|
2018-04-06 22:45:31 +02:00 |
|
Stjepan Glavina
|
9377340ee3
|
Change TODO to FIXME
|
2018-04-06 15:29:10 +02:00 |
|
Stjepan Glavina
|
f86deef5b6
|
Add Cell::update
|
2018-04-06 15:15:28 +02:00 |
|
Simon Sapin
|
73c053786d
|
Remove deprecated unstable ptr::Shared type alias.
It has been deprecated for about one release cycle.
|
2018-03-17 23:59:35 +01:00 |
|
kennytm
|
fdb5181f25
|
Rollup merge of #48201 - NovemberZulu:master, r=steveklabnik
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-13 00:54:24 +08:00 |
|
Maxim Nazarenko
|
55be283674
|
and again :(
|
2018-03-08 23:26:27 +02:00 |
|
Maxim Nazarenko
|
fbcd2f5a6a
|
tidy. Again
|
2018-03-08 23:16:31 +02:00 |
|
Maxim Nazarenko
|
fe557eee7d
|
another rewrite
based on @nikomatsakis texthg
|
2018-03-08 23:15:39 +02:00 |
|
kennytm
|
ee9425214b
|
Rollup merge of #48474 - christianpoveda:new_cell_docs, r=steveklabnik
New Cell docs
This fixes https://github.com/rust-lang/rust/issues/44061
|
2018-03-06 20:52:35 +08:00 |
|
Maxim Nazarenko
|
78789add6c
|
and some more tidy checks
|
2018-02-27 23:52:47 +02:00 |
|
Maxim Nazarenko
|
ff6754c68e
|
fix tidy checks
|
2018-02-27 23:34:38 +02:00 |
|
Maxim Nazarenko
|
50f5ea9192
|
Simplify
Merge three rules into one following @cramertj
|
2018-02-27 23:23:19 +02:00 |
|
Maxim Nazarenko
|
d9b8724a80
|
style fix
|
2018-02-27 23:21:04 +02:00 |
|
Mazdak Farrokhzad
|
f8ebb3f09f
|
fix wording on panics in binary operators on RefCells"
|
2018-02-27 15:48:50 +01:00 |
|
Maxim Nazarenko
|
273166e765
|
remove italic
remove italic as per @GuillaumeGomez suggestion
|
2018-02-27 16:41:28 +02:00 |
|
Christian Poveda
|
9091584def
|
some grammar corrections
|
2018-02-26 11:14:40 -05:00 |
|
Christian Poveda
|
397ce8a1ae
|
fixed links
|
2018-02-25 09:39:21 -05:00 |
|
Christian Poveda
|
7ded7f764c
|
corrected grammar errors
|
2018-02-24 18:06:01 -05:00 |
|
Christian Poveda
|
ce3ad263ff
|
added link to sync containers
|
2018-02-24 18:04:08 -05:00 |
|
Christian Poveda
|
43de01f97e
|
cleaned trailing whitespaces
|
2018-02-23 15:12:28 -05:00 |
|
Christian Poveda
|
58d1f83952
|
remove redundant info
|
2018-02-23 13:00:26 -05:00 |
|
Christian Poveda
|
f9e049afc5
|
add info about sync
|
2018-02-23 12:57:18 -05:00 |
|
Christian Poveda
|
238bb38a94
|
First version
|
2018-02-22 13:53:59 -05:00 |
|