- 07 12月, 2017 1 次提交
-
-
由 Jonathan Strong 提交于
the use of lazily evaluated alternatives when appropriate. These comments are intended to echo a clippy lint on the same topic (see https://rust-lang-nursery.github.io/rust-clippy/master/index.html#or_fun_call)
-
- 11 10月, 2017 1 次提交
-
-
由 Josh Stone 提交于
It appears to be a simple oversight that `result::IntoIter<T>` doesn't implement `Clone` (where `T: Clone`). We do already have `Clone` for `result::Iter`, as well as the similar `option::IntoIter` and `Iter`.
-
- 18 8月, 2017 1 次提交
-
-
由 Guillaume Gomez 提交于
-
- 02 8月, 2017 1 次提交
-
-
由 Isaac van Bakel 提交于
-
- 10 6月, 2017 1 次提交
-
-
由 Georg Brandl 提交于
-
- 31 5月, 2017 1 次提交
-
-
由 Scott McMurray 提交于
-
- 25 5月, 2017 1 次提交
-
-
由 Scott McMurray 提交于
The easy parts of RFC 1859. (Just the trait and the lowering, none of the error message improvements nor the insta-stable impl for Option.)
-
- 29 3月, 2017 1 次提交
-
-
由 Guillaume Gomez 提交于
-
- 23 3月, 2017 1 次提交
-
-
由 Stjepan Glavina 提交于
-
- 18 3月, 2017 1 次提交
-
-
由 Aaron Turon 提交于
-
- 12 2月, 2017 1 次提交
-
-
由 Jordi Polo 提交于
-
- 26 1月, 2017 1 次提交
-
-
由 Alex Crichton 提交于
This commit applies the stabilization/deprecations of the 1.16.0 release, as tracked by the rust-lang/rust issue tracker and the final-comment-period tag. The following APIs were stabilized: * `VecDeque::truncate` * `VecDeque::resize` * `String::insert_str` * `Duration::checked_{add,sub,div,mul}` * `str::replacen` * `SocketAddr::is_ipv{4,6}` * `IpAddr::is_ipv{4,6}` * `str::repeat` * `Vec::dedup_by` * `Vec::dedup_by_key` * `Result::unwrap_or_default` * `<*const T>::wrapping_offset` * `<*mut T>::wrapping_offset` * `CommandExt::creation_flags` (on Windows) * `File::set_permissions` * `String::split_off` The following APIs were deprecated * `EnumSet` - replaced with other ecosystem abstractions, long since unstable Closes #27788 Closes #35553 Closes #35774 Closes #36436 Closes #36949 Closes #37079 Closes #37087 Closes #37516 Closes #37827 Closes #37916 Closes #37966 Closes #38080
-
- 14 1月, 2017 1 次提交
-
-
由 Clar Charr 提交于
-
- 14 12月, 2016 1 次提交
-
-
由 Martin Pool 提交于
-
- 04 11月, 2016 1 次提交
-
-
由 Ulrik Sverdrup 提交于
-
- 01 11月, 2016 2 次提交
-
-
由 Mark-Simulacrum 提交于
-
由 iirelu 提交于
Most of the Rust community agrees that the vec! macro is clearer when called using square brackets [] instead of regular brackets (). Most of these ocurrences are from before macros allowed using different types of brackets. There is one left unchanged in a pretty-print test, as the pretty printer still wants it to have regular brackets.
-
- 26 10月, 2016 1 次提交
-
-
由 Mark-Simulacrum 提交于
-
- 22 10月, 2016 1 次提交
-
-
由 Devon Hollowood 提交于
-
- 21 10月, 2016 1 次提交
-
-
由 Devon Hollowood 提交于
-
- 20 10月, 2016 2 次提交
-
-
由 Ulrik Sverdrup 提交于
-
由 Devon Hollowood 提交于
-
- 11 9月, 2016 1 次提交
-
-
由 ggomez 提交于
-
- 04 9月, 2016 1 次提交
-
-
由 Corey Farwell 提交于
-
- 25 8月, 2016 1 次提交
-
-
由 Jeffrey Seyfried 提交于
-
- 19 8月, 2016 1 次提交
-
-
由 Steven Allen 提交于
This trait can be used to avoid the overhead of a fuse wrapper when an iterator is already well-behaved. Conforming to: RFC 1581 Closes: #35602
-
- 10 8月, 2016 1 次提交
-
-
由 Georg Brandl 提交于
-
- 29 6月, 2016 1 次提交
-
-
由 Jupp Müller 提交于
This change improves the code example for try!, avoiding to use try! in the example code that shows what code constructs try! can replace.
-
- 09 4月, 2016 1 次提交
-
-
由 Guillaume Gomez 提交于
-
- 21 3月, 2016 1 次提交
-
-
由 Sean McArthur 提交于
-
- 05 3月, 2016 1 次提交
-
-
由 Steve Klabnik 提交于
Fixes #9447
-
- 23 2月, 2016 1 次提交
-
-
由 Aaron Turon 提交于
-
- 23 1月, 2016 2 次提交
-
-
由 Ulrik Sverdrup 提交于
Move functions out of their impl blocks; avoids unnecessary monomorphization by type parameters that are irrelevant to the message output.
-
由 Ulrik Sverdrup 提交于
Option::expect, Result::unwrap, unwrap_err, expect These methods are marked inline, but insert a big chunk of formatting code, as well as other error path related code, such as deallocating a std::io::Error if you have one. We can explicitly separate out that code path into a function that is never inline, since the panicking case should always be rare.
-
- 14 1月, 2016 1 次提交
-
-
由 Vadim Petrochenkov 提交于
-
- 11 12月, 2015 1 次提交
-
-
由 Alex Crichton 提交于
This is a standard "clean out libstd" commit which removes all 1.5-and-before deprecated functionality as it's now all been deprecated for at least one entire cycle.
-
- 10 12月, 2015 1 次提交
-
-
由 Letheed 提交于
-
- 20 11月, 2015 1 次提交
-
-
由 Vadim Petrochenkov 提交于
-
- 18 11月, 2015 1 次提交
-
-
由 Vadim Petrochenkov 提交于
-
- 12 11月, 2015 1 次提交
-
-
由 Kevin Butler 提交于
-