<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/src/libstd/cell.rs, branch try</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=try</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=try'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2014-05-07T15:16:14+00:00</updated>
<entry>
<title>core: Inherit the cell module</title>
<updated>2014-05-07T15:16:14+00:00</updated>
<author>
<name>Alex Crichton</name>
<email>alex@alexcrichton.com</email>
</author>
<published>2014-05-01T18:19:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=f62c121eb0de35ac03a7860e6039202f2522e527'/>
<id>urn:sha1:f62c121eb0de35ac03a7860e6039202f2522e527</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add debug_assert and debug_assert_eq macros</title>
<updated>2014-05-02T02:07:40+00:00</updated>
<author>
<name>Steven Fackler</name>
<email>sfackler@gmail.com</email>
</author>
<published>2014-04-27T01:25:20+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=b0b7c252d79f57e47af5f677b9e551f42657c509'/>
<id>urn:sha1:b0b7c252d79f57e47af5f677b9e551f42657c509</id>
<content type='text'>
I also switched some `assert!` calls over to `debug_assert!`.

Closes #12049.

RFC: 0015-assert
</content>
</entry>
<entry>
<title>Stop using transmute_mut in RefCell</title>
<updated>2014-04-10T22:21:59+00:00</updated>
<author>
<name>Steven Fackler</name>
<email>sfackler@gmail.com</email>
</author>
<published>2014-04-09T05:54:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=b99482801fd09f33c70329bc72fc6efebd7cd3b5'/>
<id>urn:sha1:b99482801fd09f33c70329bc72fc6efebd7cd3b5</id>
<content type='text'>
This is supposedly undefined behavior now that Unsafe exists, so we'll
use Cell instead.
</content>
</entry>
<entry>
<title>std: Remove `RefCell::set()`</title>
<updated>2014-04-04T03:28:59+00:00</updated>
<author>
<name>Erick Tryzelaar</name>
<email>erick.tryzelaar@gmail.com</email>
</author>
<published>2014-04-02T13:55:33+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=3961957bd61b7f9ab350c0a6621a1ad18716c332'/>
<id>urn:sha1:3961957bd61b7f9ab350c0a6621a1ad18716c332</id>
<content type='text'>
</content>
</entry>
<entry>
<title>std: Remove `RefCell::get()`</title>
<updated>2014-04-04T03:28:55+00:00</updated>
<author>
<name>Erick Tryzelaar</name>
<email>erick.tryzelaar@gmail.com</email>
</author>
<published>2014-03-28T17:29:55+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=7bcfe2ee1067d1304c9a2813c111f10a89984e45'/>
<id>urn:sha1:7bcfe2ee1067d1304c9a2813c111f10a89984e45</id>
<content type='text'>
It's surprising that `RefCell::get()` is implicitly doing a clone
on a value. This patch removes it and replaces all users with
either `.borrow()` when we can autoderef, or `.borrow().clone()`
when we cannot.
</content>
</entry>
<entry>
<title>std: fix Cell's Show instance.</title>
<updated>2014-04-01T12:58:31+00:00</updated>
<author>
<name>Huon Wilson</name>
<email>dbau.pp+github@gmail.com</email>
</author>
<published>2014-04-01T12:58:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=50fca0fbbb8f40714f79dbbec83bf61f34ed3945'/>
<id>urn:sha1:50fca0fbbb8f40714f79dbbec83bf61f34ed3945</id>
<content type='text'>
Previously it was printing the address of the Unsafe contained in the
Cell (i.e. the address of the Cell itself). This is clearly useless, and
was presumably a mistake due to writing `*&amp;` instead of `&amp;*`.

However, this later expression is likely also incorrect, since it takes
a reference into a Cell while other user code is executing (i.e. the
Show instance for the contained type), hence the contents should just be
copied out.
</content>
</entry>
<entry>
<title>std: Switch field privacy as necessary</title>
<updated>2014-03-31T22:17:12+00:00</updated>
<author>
<name>Alex Crichton</name>
<email>alex@alexcrichton.com</email>
</author>
<published>2014-03-27T22:09:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=9a3d04ae7629f6f273643b3a14f106726842be6a'/>
<id>urn:sha1:9a3d04ae7629f6f273643b3a14f106726842be6a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rename Pod into Copy</title>
<updated>2014-03-28T09:34:02+00:00</updated>
<author>
<name>Flavio Percoco</name>
<email>flaper87@gmail.com</email>
</author>
<published>2014-03-26T23:01:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=81ec1f3c186cd64450d8141aab467f0a1f3a7ebd'/>
<id>urn:sha1:81ec1f3c186cd64450d8141aab467f0a1f3a7ebd</id>
<content type='text'>
Summary:
So far, we've used the term POD "Plain Old Data" to refer to types that
can be safely copied. However, this term is not consistent with the
other built-in bounds that use verbs instead. This patch renames the Pod
kind into Copy.

RFC: 0003-opt-in-builtin-traits

Test Plan: make check

Reviewers: cmr

Differential Revision: http://phabricator.octayn.net/D3
</content>
</entry>
<entry>
<title>auto merge of #13076 : FlaPer87/rust/remove-freeze, r=alexcrichton</title>
<updated>2014-03-22T20:01:52+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2014-03-22T20:01:52+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=7e7a5e3d3eabe0ee46474b0eb701c159a45b490f'/>
<id>urn:sha1:7e7a5e3d3eabe0ee46474b0eb701c159a45b490f</id>
<content type='text'>
This PR removes the `Freeze` kind and the `NoFreeze` marker completely.

Fixes #12577

cc @nikomatsakis r?
</content>
</entry>
<entry>
<title>std: Remove the get() method from RefCell wrappers</title>
<updated>2014-03-22T15:48:20+00:00</updated>
<author>
<name>Alex Crichton</name>
<email>alex@alexcrichton.com</email>
</author>
<published>2014-03-20T22:04:55+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=cd510b33821a0b3e7ae7dd576c0d22d3531ddb0b'/>
<id>urn:sha1:cd510b33821a0b3e7ae7dd576c0d22d3531ddb0b</id>
<content type='text'>
This method has been entirely obsoleted by autoderef, so there's no reason for
its existence.
</content>
</entry>
</feed>
