| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2023-01-04 | Update rand in the stdlib tests, and remove the getrandom feature from it | Thom Chiovoloni | -4/+5 | |
| 2022-10-02 | Make Hash{Set,Map}::with_hasher unstably const | Nixon Enraght-Moony | -0/+6 | |
| 2022-08-18 | make many std tests work in Miri | Ralf Jung | -10/+14 | |
| 2022-03-10 | Use implicit capture syntax in format_args | T-O-R-U-S | -3/+3 | |
| This updates the standard library's documentation to use the new syntax. The documentation is worthwhile to update as it should be more idiomatic (particularly for features like this, which are nice for users to get acquainted with). The general codebase is likely more hassle than benefit to update: it'll hurt git blame, and generally updates can be done by folks updating the code if (and when) that makes things more readable with the new format. A few places in the compiler and library code are updated (mostly just due to already having been done when this commit was first authored). | ||||
| 2022-01-22 | Disable test_try_reserve on Android | Amanieu d'Antras | -0/+1 | |
| 2022-01-21 | Update HashMap::try_reserve test to version from hashbrown | Amanieu d'Antras | -5/+15 | |
| 2022-01-09 | eplace usages of vec![].into_iter with [].into_iter | Lucas Kent | -10/+10 | |
| 2021-08-07 | Use assert_matches! instead of if let {} else | Kornel | -9/+12 | |
| 2021-08-07 | Auto merge of #87408 - kornelski:try_reserve_error, r=yaahc | bors | -3/+3 | |
| Hide allocator details from TryReserveError I think there's [no need for TryReserveError to carry detailed information](https://github.com/rust-lang/rust/issues/48043#issuecomment-825139280), but I wouldn't want that issue to delay stabilization of the `try_reserve` feature. So I'm proposing to stabilize `try_reserve` with a `TryReserveError` as an opaque structure, and if needed, expose error details later. This PR moves the `enum` to an unstable inner `TryReserveErrorKind` that lives under a separate feature flag. `TryReserveErrorKind` could possibly be left as an implementation detail forever, and the `TryReserveError` get methods such as `allocation_size() -> Option<usize>` or `layout() -> Option<Layout>` instead, or the details could be dropped completely to make try-reserve errors just a unit struct, and thus smaller and cheaper. | ||||
| 2021-07-24 | Hide allocator details from TryReserveError | Kornel | -3/+3 | |
| 2021-06-30 | impl From<[(K, V); N]> for std::collections | bstrie | -0/+12 | |
| 2021-03-03 | Fix std tests | Ryan Levick | -4/+4 | |
| 2020-09-08 | Tests for HashMap/HashSet::drain_filter | Matt Brubeck | -0/+161 | |
| 2020-08-31 | std: move "mod tests/benches" to separate files | Lzu Tao | -0/+926 | |
| Also doing fmt inplace as requested. | ||||
