| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2025-01-26 | Put all coretests in a separate crate | bjorn3 | -82/+0 | |
| 2025-01-24 | Fix `FormattingOptions` instantiation with `Default` | Yuri Astrakhan | -0/+6 | |
| The `fill` value by default should be set to `' '` (space), but the current implementation uses `#[derive(Default)]` which sets it to `\0` | ||||
| 2024-12-05 | Refactored FormattingOptions to use a bitmask for storing flags | Elias Holzmann | -10/+6 | |
| 2024-12-05 | Added struct `fmt::FormattingOptions` | Elias Holzmann | -0/+28 | |
| This allows to build custom `std::Formatter`s at runtime. Also added some related enums and two related methods on `std::Formatter`. | ||||
| 2024-11-22 | Shorten the `MaybeUninit` `Debug` implementation | Trevor Gross | -0/+7 | |
| Currently the `Debug` implementation for `MaybeUninit` winds up being pretty verbose. This struct: #[derive(Debug)] pub struct Foo { pub a: u32, pub b: &'static str, pub c: MaybeUninit<u32>, pub d: MaybeUninit<String>, } Prints as: Foo { a: 0, b: "hello", c: core::mem::maybe_uninit::MaybeUninit<u32>, d: core::mem::maybe_uninit::MaybeUninit<alloc::string::String>, } The goal is just to be a standin for content so the path prefix doesn't add any useful information. Change the implementation to trim `MaybeUninit`'s leading path, meaning the new result is now: Foo { a: 0, b: "hello", c: MaybeUninit<u32>, d: MaybeUninit<alloc::string::String>, } | ||||
| 2024-01-11 | apply fmt | klensy | -4/+4 | |
| 2023-03-16 | Update format_args!() test to account for inlining. | Mara Bos | -4/+4 | |
| 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). | ||||
| 2020-07-27 | mv std libs to library/ | mark | -0/+45 | |
