From 018c468e1807e01d0a1c9092b93e496d9ae7606a Mon Sep 17 00:00:00 2001 From: Brian Anderson Date: Thu, 29 Oct 2015 11:36:56 -0700 Subject: [PATCH] Address release notes feedback --- RELEASES.md | 26 ++++++++++++++++++-------- 1 file changed, 18 insertions(+), 8 deletions(-) diff --git a/RELEASES.md b/RELEASES.md index 2f1dac4a187..ada5649ec6e 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -20,6 +20,12 @@ Breaking Changes * [The `str::lines` and `BufRead::lines` iterators treat `\r\n` as line breaks in addition to `\n`][crlf]. * [Loans of `'static` lifetime extend to the end of a function][stat]. +* [`str::parse` no longer introduces avoidable rounding error when + parsing floating point numbers. Together with earlier changes to + float formatting/output, "round trips" like f.to_string().parse() + now preserve the value of f exactly. Additionally, leading plus + signs are now accepted][fp3]. + Language -------- @@ -68,19 +74,22 @@ Libraries prelude][pr]. * [`Extend` and `FromIterator` and - `Result<&T>`][into]. +* [`IntoIterator` is implemented for references into `Option` and + `Result`][into2]. * [`HashMap` and `HashSet` implement `Extend<&T>` where `T: - Copy`][ext] as part of [RFC 839]. + Copy`][ext] as part of [RFC 839]. This will cause type inferance + breakage in rare situations. * [`BinaryHeap` implements `Debug`][bh2]. * [`Borrow` and `BorrowMut` are implemented for fixed-size arrays][bm]. -* [`extern fn`s of with the "Rust" and "C" ABIs implement common +* [`extern fn`s with the "Rust" and "C" ABIs implement common traits including `Eq`, `Ord`, `Debug`, `Hash`][fp]. * [String comparison is faster][faststr]. -* `&mut T` where `T: Write` [also implements `Write`][mutw]. -* [A stable regression in `VecDec::push_back` that caused panics for - zero-sized types was fixed][vd]. +* `&mut T` where `T: std::fmt::Write` [also implements + `std::fmt::Write`][mutw]. +* [A stable regression in `VecDeque::push_back` and other + capicity-altering methods that caused panics for zero-sized types + was fixed][vd]. * [Function pointers implement traits for up to 12 parameters][fp2]. Miscellaneous @@ -151,8 +160,9 @@ Miscellaneous [ffi]: https://github.com/rust-lang/rust/pull/28779 [fp]: https://github.com/rust-lang/rust/pull/28268 [fp2]: https://github.com/rust-lang/rust/pull/28560 +[fp3]: https://github.com/rust-lang/rust/pull/27307 [i]: https://github.com/rust-lang/rust/pull/27451 -[into]: https://github.com/rust-lang/rust/pull/28039 +[into2]: https://github.com/rust-lang/rust/pull/28039 [it]: https://github.com/rust-lang/rust/pull/27652 [mm]: https://github.com/rust-lang/rust/pull/27338 [mutw]: https://github.com/rust-lang/rust/pull/28368