| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2023-01-31 | std: add type alias for raw OS errors | joboet | -6/+9 | |
| 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`. | ||||
| 2023-01-14 | fix issues in unused lint | yukang | -4/+4 | |
| 2022-12-30 | Replace libstd, libcore, liballoc in line comments. | jonathanCogan | -4/+4 | |
| 2022-10-13 | fix small word dupe typos | Rageking8 | -1/+1 | |
| 2022-08-23 | Make use of `[wrapping_]byte_{add,sub}` | Maybe Waffle | -2/+2 | |
| ...replacing `.cast().wrapping_offset().cast()` & similar code. | ||||
| 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-06-22 | Impl `io::error::repr_bitpacked::Repr::new` | Jiahao XU | -0/+9 | |
| that accepts `ErrorData<Box<Custom>>` Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com> | ||||
| 2022-06-22 | Impl `io::error::repr_unpacked::Repr::new` | Jiahao XU | -0/+4 | |
| that accepts `ErrorData<Box<Custom>>` 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-29 | cleanup some of the less terrifying library code | Aria Beingessner | -1/+1 | |
| 2022-03-29 | Make the stdlib largely conform to strict provenance. | Aria Beingessner | -5/+5 | |
| Some things like the unwinders and system APIs are not fully conformant, this only covers a lot of low-hanging fruit. | ||||
| 2022-03-29 | Indicate the correct error code in the `compile_fail` block. | Thom Chiovoloni | -1/+1 | |
| Co-authored-by: Mara Bos <m-ou.se@m-ou.se> | ||||
| 2022-03-23 | Add a `compile_fail` doctest to check that `io::Error: !UnwindSafe` | Thom Chiovoloni | -0/+9 | |
| 2022-03-23 | Ensure io::Error's bitpacked repr doesn't accidentally impl UnwindSafe | Thom Chiovoloni | -5/+6 | |
| 2022-03-10 | Use implicit capture syntax in format_args | T-O-R-U-S | -6/+5 | |
| 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-10 | Rename to `InvalidFilename` | Yuki Okushi | -1/+1 | |
| 2022-02-04 | Add more tests for io::Error packing, and fix some comments that weren't ↵ | Thom Chiovoloni | -16/+97 | |
| quite accurate anymore | ||||
| 2022-02-04 | Update documentation somewhat | Thom Chiovoloni | -12/+16 | |
| 2022-02-04 | Use wrapping pointer arithmetic in the bitpacked io::Error | Thom Chiovoloni | -8/+15 | |
| 2022-02-04 | Elaborate some in the documentation and respond to some review comments | Thom Chiovoloni | -7/+19 | |
| 2022-02-04 | Update library/std/src/io/error/repr_bitpacked.rs | Thom Chiovoloni | -1/+1 | |
| Co-authored-by: the8472 <the8472@users.noreply.github.com> | ||||
| 2022-02-04 | Fix comment typos noticed by code review. | Thom Chiovoloni | -2/+2 | |
| Co-authored-by: Ralf Jung <post@ralfj.de> | ||||
| 2022-02-04 | Address address comments, improve comments slightly | Thom Chiovoloni | -5/+13 | |
| 2022-02-04 | Optimize io::error::Repr layout on 64 bit targets. | Thom Chiovoloni | -0/+353 | |
| 2022-02-04 | Hide Repr details from io::Error, and rework `io::Error::new_const`. | Thom Chiovoloni | -4/+54 | |
| 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. | ||||
