| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2025-03-06 | library: Use size_of from the prelude instead of imported | Thalia Archibald | -1/+0 | |
| Use `std::mem::{size_of, size_of_val, align_of, align_of_val}` from the prelude instead of importing or qualifying them. These functions were added to all preludes in Rust 1.80. | ||||
| 2024-11-26 | std: update internal uses of `io::const_error!` | joboet | -5/+5 | |
| 2024-09-22 | Reformat using the new identifier sorting from rustfmt | Michael Goulet | -1/+1 | |
| 2024-07-29 | Reformat `use` declarations. | Nicholas Nethercote | -3/+3 | |
| The previous commit updated `rustfmt.toml` appropriately. This commit is the outcome of running `x fmt --all` with the new formatting options. | ||||
| 2024-01-19 | Update `std::io::Error::downcast` return type | Jiahao XU | -2/+2 | |
| and update its doc according to decision made by rust libs-api team. Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com> | ||||
| 2023-01-31 | std: add type alias for raw OS errors | joboet | -1/+1 | |
| Implement rust-lang/libs-team#173. | ||||
| 2023-01-21 | Remove unnecessary `&format!` | Nikolai Vazquez | -1/+1 | |
| These were likely from before the `PartialEq<str>` impl for `&String`. | ||||
| 2022-10-13 | fix small word dupe typos | Rageking8 | -1/+1 | |
| 2022-07-14 | Rename `std::io::Error::try_downcast_inner` to `downcast` | Jiahao XU | -7/+7 | |
| Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com> | ||||
| 2022-06-22 | Add new unit test `test_try_downcast_inner` | Jiahao XU | -1/+52 | |
| Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com> | ||||
| 2022-05-29 | Use Box::new() instead of box syntax in std tests | est31 | -3/+3 | |
| 2022-03-10 | Use implicit capture syntax in format_args | T-O-R-U-S | -4/+4 | |
| 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-02-04 | Add more tests for io::Error packing, and fix some comments that weren't ↵ | Thom Chiovoloni | -7/+66 | |
| quite accurate anymore | ||||
| 2022-02-04 | Optimize io::error::Repr layout on 64 bit targets. | Thom Chiovoloni | -0/+15 | |
| 2022-02-04 | Hide Repr details from io::Error, and rework `io::Error::new_const`. | Thom Chiovoloni | -4/+4 | |
| 2021-03-21 | Add test for io::Error::new_const. | Mara Bos | -0/+10 | |
| 2021-03-21 | Add test for io::Error's size. | Mara Bos | -0/+6 | |
| 2020-08-31 | std: move "mod tests/benches" to separate files | Lzu Tao | -0/+53 | |
| Also doing fmt inplace as requested. | ||||
