<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/src/libcoretest/result.rs, branch 1.2.0</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.2.0</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.2.0'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2015-06-15T04:00:16+00:00</updated>
<entry>
<title>libcore/Result - RFC#1119 Add an 'expect' method to Result</title>
<updated>2015-06-15T04:00:16+00:00</updated>
<author>
<name>John Hodge</name>
<email>tpg@mutabah.net</email>
</author>
<published>2015-06-13T14:34:58+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=0937c10f3ca21585f0cb00c1a112e4ff4a742456'/>
<id>urn:sha1:0937c10f3ca21585f0cb00c1a112e4ff4a742456</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Unstub some tests</title>
<updated>2015-04-29T04:23:28+00:00</updated>
<author>
<name>Tamir Duberstein</name>
<email>tamird@gmail.com</email>
</author>
<published>2015-04-29T04:23:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=f7947bc9364459b281e6b5c601ae2bcb148839f2'/>
<id>urn:sha1:f7947bc9364459b281e6b5c601ae2bcb148839f2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Tests need not be public</title>
<updated>2015-04-29T04:22:58+00:00</updated>
<author>
<name>Tamir Duberstein</name>
<email>tamird@gmail.com</email>
</author>
<published>2015-04-29T04:22:58+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=8073af7399ba9dc77a08ead848fef71d9f1ba1b9'/>
<id>urn:sha1:8073af7399ba9dc77a08ead848fef71d9f1ba1b9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Mass rename uint/int to usize/isize</title>
<updated>2015-03-26T19:10:22+00:00</updated>
<author>
<name>Alex Crichton</name>
<email>alex@alexcrichton.com</email>
</author>
<published>2015-03-26T00:06:52+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=43bfaa4a336095eb5697fb2df50909fd3c72ed14'/>
<id>urn:sha1:43bfaa4a336095eb5697fb2df50909fd3c72ed14</id>
<content type='text'>
Now that support has been removed, all lingering use cases are renamed.
</content>
</entry>
<entry>
<title>Rename #[should_fail] to #[should_panic]</title>
<updated>2015-03-09T17:14:21+00:00</updated>
<author>
<name>Steven Fackler</name>
<email>sfackler@gmail.com</email>
</author>
<published>2015-01-31T23:08:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=e2605b42c7ce37717118fe240f7d0e8c4eae3598'/>
<id>urn:sha1:e2605b42c7ce37717118fe240f7d0e8c4eae3598</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Result::or : avoid over-specializing the type</title>
<updated>2015-02-25T22:38:28+00:00</updated>
<author>
<name>Cody P Schafer</name>
<email>dev@codyps.com</email>
</author>
<published>2015-02-25T18:37:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=07dc8d67c92017f950eef3951ec901cb2a3add7e'/>
<id>urn:sha1:07dc8d67c92017f950eef3951ec901cb2a3add7e</id>
<content type='text'>
Changes .or() so that it can return a Result with a different E type
than the one it is called on.

Essentially:

    fn or(self, res: Result&lt;T, E&gt;) -&gt; Result&lt;T, E&gt;

becomes

    fn or&lt;F&gt;(self, res: Result&lt;T, F&gt;) -&gt; Result&lt;T, F&gt;

This brings `or` in line with the existing `and` and `or_else` member
types.

This is a
[breaking-change]
Due to some code needing additional type annotations.
</content>
</entry>
<entry>
<title>Remove all `i` suffixes</title>
<updated>2015-01-30T03:38:54+00:00</updated>
<author>
<name>Tobias Bucher</name>
<email>tobiasbucher5991@gmail.com</email>
</author>
<published>2015-01-25T21:05:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=7f64fe4e27555c256cb228feb05d4181a2287125'/>
<id>urn:sha1:7f64fe4e27555c256cb228feb05d4181a2287125</id>
<content type='text'>
</content>
</entry>
<entry>
<title>`range(a, b).foo()` -&gt; `(a..b).foo()`</title>
<updated>2015-01-29T12:46:44+00:00</updated>
<author>
<name>Jorge Aparicio</name>
<email>japaricious@gmail.com</email>
</author>
<published>2015-01-26T20:44:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=c300d681bd2e901ef39591bbfb1ea4568ac6be70'/>
<id>urn:sha1:c300d681bd2e901ef39591bbfb1ea4568ac6be70</id>
<content type='text'>
sed -i 's/ range(\([^,]*\), *\([^()]*\))\./ (\1\.\.\2)\./g' **/*.rs
</content>
</entry>
<entry>
<title>std: Rename Show/String to Debug/Display</title>
<updated>2015-01-21T06:36:13+00:00</updated>
<author>
<name>Alex Crichton</name>
<email>alex@alexcrichton.com</email>
</author>
<published>2015-01-20T23:45:07+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=3cb9fa26ef9905c00a29ea577fb55a12a91c8e7b'/>
<id>urn:sha1:3cb9fa26ef9905c00a29ea577fb55a12a91c8e7b</id>
<content type='text'>
This commit is an implementation of [RFC 565][rfc] which is a stabilization of
the `std::fmt` module and the implementations of various formatting traits.
Specifically, the following changes were performed:

[rfc]: https://github.com/rust-lang/rfcs/blob/master/text/0565-show-string-guidelines.md

* The `Show` trait is now deprecated, it was renamed to `Debug`
* The `String` trait is now deprecated, it was renamed to `Display`
* Many `Debug` and `Display` implementations were audited in accordance with the
  RFC and audited implementations now have the `#[stable]` attribute
  * Integers and floats no longer print a suffix
  * Smart pointers no longer print details that they are a smart pointer
  * Paths with `Debug` are now quoted and escape characters
* The `unwrap` methods on `Result` now require `Display` instead of `Debug`
* The `Error` trait no longer has a `detail` method and now requires that
  `Display` must be implemented. With the loss of `String`, this has moved into
  libcore.
* `impl&lt;E: Error&gt; FromError&lt;E&gt; for Box&lt;Error&gt;` now exists
* `derive(Show)` has been renamed to `derive(Debug)`. This is not currently
  warned about due to warnings being emitted on stage1+

While backwards compatibility is attempted to be maintained with a blanket
implementation of `Display` for the old `String` trait (and the same for
`Show`/`Debug`) this is still a breaking change due to primitives no longer
implementing `String` as well as modifications such as `unwrap` and the `Error`
trait. Most code is fairly straightforward to update with a rename or tweaks of
method calls.

[breaking-change]
Closes #21436
</content>
</entry>
<entry>
<title>Test fixes and rebase conflicts</title>
<updated>2015-01-08T03:27:27+00:00</updated>
<author>
<name>Alex Crichton</name>
<email>alex@alexcrichton.com</email>
</author>
<published>2015-01-08T02:53:58+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=0dc48b47a8c67eb28e7b89a6c0810dc9446377f7'/>
<id>urn:sha1:0dc48b47a8c67eb28e7b89a6c0810dc9446377f7</id>
<content type='text'>
</content>
</entry>
</feed>
