<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/src/libcore/clone.rs, branch 1.12.0</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.12.0</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.12.0'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2016-05-23T17:14:15+00:00</updated>
<entry>
<title>Prefer `ClassName` over `Self` in example trait implementations</title>
<updated>2016-05-23T17:14:15+00:00</updated>
<author>
<name>Carol (Nichols || Goulding)</name>
<email>carol.nichols@gmail.com</email>
</author>
<published>2016-05-23T17:13:09+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=d81a999b54f5c2df14a8057ab14ed7161093e353'/>
<id>urn:sha1:d81a999b54f5c2df14a8057ab14ed7161093e353</id>
<content type='text'>
</content>
</entry>
<entry>
<title>"more than 32" =&gt; "more than 32 elements"</title>
<updated>2016-05-23T17:00:01+00:00</updated>
<author>
<name>Carol (Nichols || Goulding)</name>
<email>carol.nichols@gmail.com</email>
</author>
<published>2016-05-23T17:00:01+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=c22c52449ad29021debd61cad6cadbc5a325433e'/>
<id>urn:sha1:c22c52449ad29021debd61cad6cadbc5a325433e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Emphasize semantic differences of Copy/Clone rather than impl</title>
<updated>2016-05-23T16:58:42+00:00</updated>
<author>
<name>Carol (Nichols || Goulding)</name>
<email>carol.nichols@gmail.com</email>
</author>
<published>2016-05-23T16:58:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=d2ee6e04ab7f2095351b48acff7c997dc4ac779a'/>
<id>urn:sha1:d2ee6e04ab7f2095351b48acff7c997dc4ac779a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Shorten, yet clarify, initial summary sentences</title>
<updated>2016-05-23T16:53:42+00:00</updated>
<author>
<name>Carol (Nichols || Goulding)</name>
<email>carol.nichols@gmail.com</email>
</author>
<published>2016-05-23T16:52:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=b4e123d3e0fd9459733f9ebb0802877a995abef4'/>
<id>urn:sha1:b4e123d3e0fd9459733f9ebb0802877a995abef4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add more detail to `Clone`'s documentation</title>
<updated>2016-05-23T14:03:44+00:00</updated>
<author>
<name>Carol (Nichols || Goulding)</name>
<email>carol.nichols@gmail.com</email>
</author>
<published>2016-05-22T22:06:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=c41227fefc449b08f3535758bd75b4b19866e0f7'/>
<id>urn:sha1:c41227fefc449b08f3535758bd75b4b19866e0f7</id>
<content type='text'>
Used as resources:
- https://users.rust-lang.org/t/whats-the-difference-between-trait-copy-and-clone/2609/2?u=carols10cents
</content>
</entry>
<entry>
<title>Add explanations about what derived trait implementations do</title>
<updated>2016-05-23T14:03:44+00:00</updated>
<author>
<name>Carol (Nichols || Goulding)</name>
<email>carol.nichols@gmail.com</email>
</author>
<published>2016-05-20T19:50:34+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=1e493fd979c826c44b2fa5d4b74302d405fbd17d'/>
<id>urn:sha1:1e493fd979c826c44b2fa5d4b74302d405fbd17d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>implement RFC 1521</title>
<updated>2016-05-05T02:16:06+00:00</updated>
<author>
<name>Alex Burka</name>
<email>durka42+github@gmail.com</email>
</author>
<published>2016-05-05T02:09:51+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=c5aa8794908425a36e71e9628a23c5d15f66c65e'/>
<id>urn:sha1:c5aa8794908425a36e71e9628a23c5d15f66c65e</id>
<content type='text'>
Adds documentation to Clone, specifying that Copy types should have a trivial Clone impl.

Fixes #33416.
</content>
</entry>
<entry>
<title>shallow Clone for #[derive(Copy,Clone)]</title>
<updated>2016-04-26T17:49:29+00:00</updated>
<author>
<name>Alex Burka</name>
<email>aburka@seas.upenn.edu</email>
</author>
<published>2016-02-04T00:40:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=9249e6a1e2ef57bb6e329e6477beed31647236b1'/>
<id>urn:sha1:9249e6a1e2ef57bb6e329e6477beed31647236b1</id>
<content type='text'>
Changes #[derive(Copy, Clone)] to use a faster impl of Clone when
both derives are present, and there are no generics in the type.

The faster impl is simply returning *self (which works because the
type is also Copy). See the comments in libsyntax_ext/deriving/clone.rs
for more details.

There are a few types which are Copy but not Clone, in violation
of the definition of Copy. These include large arrays and tuples. The
very existence of these types is arguably a bug, but in order for this
optimization not to change the applicability of #[derive(Copy, Clone)],
the faster Clone impl also injects calls to a new function,
core::clone::assert_receiver_is_clone, to verify that all members are
actually Clone.

This is not a breaking change, because pursuant to RFC 1521, any type
that implements Copy should not do any observable work in its Clone
impl.
</content>
</entry>
<entry>
<title>Add doc example to clone trait</title>
<updated>2016-03-22T17:18:01+00:00</updated>
<author>
<name>Guillaume Gomez</name>
<email>guillaume1.gomez@gmail.com</email>
</author>
<published>2016-03-22T00:12:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=b3aa35e756c4d1c0d015a502b2e5b854752c99e7'/>
<id>urn:sha1:b3aa35e756c4d1c0d015a502b2e5b854752c99e7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>End stdlib module summaries with a full stop.</title>
<updated>2016-03-04T22:37:11+00:00</updated>
<author>
<name>Steve Klabnik</name>
<email>steve@steveklabnik.com</email>
</author>
<published>2016-03-04T22:37:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=096409cf8c2f0fcfe8dec77fd293ce5a4ba41284'/>
<id>urn:sha1:096409cf8c2f0fcfe8dec77fd293ce5a4ba41284</id>
<content type='text'>
Fixes #9447
</content>
</entry>
</feed>
