<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/src/libstd/path, branch 0.10</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=0.10</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=0.10'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2014-03-29T00:12:21+00:00</updated>
<entry>
<title>Convert most code to new inner attribute syntax.</title>
<updated>2014-03-29T00:12:21+00:00</updated>
<author>
<name>Brian Anderson</name>
<email>banderson@mozilla.com</email>
</author>
<published>2014-03-22T01:05:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=451e8c1c6178750a4c1789f40749562164a980b7'/>
<id>urn:sha1:451e8c1c6178750a4c1789f40749562164a980b7</id>
<content type='text'>
Closes #2569
</content>
</entry>
<entry>
<title>Changed `iter::Extendable` and `iter::FromIterator` to take a `Iterator` by value</title>
<updated>2014-03-25T20:49:55+00:00</updated>
<author>
<name>Marvin Löbel</name>
<email>loebel.marvin@gmail.com</email>
</author>
<published>2014-03-20T13:12:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=6200e761f0ef58510ad2acc383b29de7e7a79bcd'/>
<id>urn:sha1:6200e761f0ef58510ad2acc383b29de7e7a79bcd</id>
<content type='text'>
</content>
</entry>
<entry>
<title>auto merge of #13090 : thestinger/rust/iter, r=Aatch</title>
<updated>2014-03-23T09:41:53+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2014-03-23T09:41:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=11c6817e13cf568167b7bffe66e528f1e8204635'/>
<id>urn:sha1:11c6817e13cf568167b7bffe66e528f1e8204635</id>
<content type='text'>
This has been rendered obsolete by partial type hints. Since the `~[T]`
type is in the process of being removed, it needs to go away.
</content>
</entry>
<entry>
<title>iter: remove `to_owned_vec`</title>
<updated>2014-03-23T09:41:23+00:00</updated>
<author>
<name>Daniel Micay</name>
<email>danielmicay@gmail.com</email>
</author>
<published>2014-03-22T23:18:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=ae429056ffa166a9d3a15c8641a838a7a2f5f86e'/>
<id>urn:sha1:ae429056ffa166a9d3a15c8641a838a7a2f5f86e</id>
<content type='text'>
This needs to be removed as part of removing `~[T]`. Partial type hints
are now allowed, and will remove the need to add a version of this
method for `Vec&lt;T&gt;`. For now, this involves a few workarounds for
partial type hints not completely working.
</content>
</entry>
<entry>
<title>use TotalEq for HashMap</title>
<updated>2014-03-23T05:59:11+00:00</updated>
<author>
<name>Daniel Micay</name>
<email>danielmicay@gmail.com</email>
</author>
<published>2014-03-22T20:30:45+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=3829ac2a52f12b08501cb25d82de32f39fbe801e'/>
<id>urn:sha1:3829ac2a52f12b08501cb25d82de32f39fbe801e</id>
<content type='text'>
Closes #5283
</content>
</entry>
<entry>
<title>rename std::vec -&gt; std::slice</title>
<updated>2014-03-20T05:30:27+00:00</updated>
<author>
<name>Daniel Micay</name>
<email>danielmicay@gmail.com</email>
</author>
<published>2014-03-08T23:11:52+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=ce620320a20baa1428e679c751b1b4a8d8556ca1'/>
<id>urn:sha1:ce620320a20baa1428e679c751b1b4a8d8556ca1</id>
<content type='text'>
Closes #12702
</content>
</entry>
<entry>
<title>std: allow io::File* structs to be hashable</title>
<updated>2014-03-13T01:58:54+00:00</updated>
<author>
<name>Erick Tryzelaar</name>
<email>erick.tryzelaar@gmail.com</email>
</author>
<published>2014-03-11T03:47:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=be12c9f753fa742dd76127a600ba9f2447d19b39'/>
<id>urn:sha1:be12c9f753fa742dd76127a600ba9f2447d19b39</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Use generic impls for `Hash`</title>
<updated>2014-03-12T20:39:47+00:00</updated>
<author>
<name>Erick Tryzelaar</name>
<email>erick.tryzelaar@gmail.com</email>
</author>
<published>2014-02-25T16:03:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=9959188d0e653871b4995a25ce066dbf0726f132'/>
<id>urn:sha1:9959188d0e653871b4995a25ce066dbf0726f132</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Removed DeepClone. Issue #12698.</title>
<updated>2014-03-08T20:09:00+00:00</updated>
<author>
<name>Michael Darakananda</name>
<email>pongad@gmail.com</email>
</author>
<published>2014-03-05T06:19:14+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=438893b36fe241b37eb76250f7c38ac8832f5706'/>
<id>urn:sha1:438893b36fe241b37eb76250f7c38ac8832f5706</id>
<content type='text'>
</content>
</entry>
<entry>
<title>std: Change assert_eq!() to use {} instead of {:?}</title>
<updated>2014-03-01T07:01:54+00:00</updated>
<author>
<name>Alex Crichton</name>
<email>alex@alexcrichton.com</email>
</author>
<published>2014-02-28T09:23:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=02882fbd7edcb8d0d152afcdc8571216efcbd664'/>
<id>urn:sha1:02882fbd7edcb8d0d152afcdc8571216efcbd664</id>
<content type='text'>
Formatting via reflection has been a little questionable for some time now, and
it's a little unfortunate that one of the standard macros will silently use
reflection when you weren't expecting it. This adds small bits of code bloat to
libraries, as well as not always being necessary. In light of this information,
this commit switches assert_eq!() to using {} in the error message instead of
{:?}.

In updating existing code, there were a few error cases that I encountered:

* It's impossible to define Show for [T, ..N]. I think DST will alleviate this
  because we can define Show for [T].
* A few types here and there just needed a #[deriving(Show)]
* Type parameters needed a Show bound, I often moved this to `assert!(a == b)`
* `Path` doesn't implement `Show`, so assert_eq!() cannot be used on two paths.
  I don't think this is much of a regression though because {:?} on paths looks
  awful (it's a byte array).

Concretely speaking, this shaved 10K off a 656K binary. Not a lot, but sometime
significant for smaller binaries.
</content>
</entry>
</feed>
