about summary refs log tree commit diff
path: root/library/core/tests/fmt/builders.rs
AgeCommit message (Collapse)AuthorLines
2025-01-26Put all coretests in a separate cratebjorn3-1044/+0
2024-07-21Implement `debug_more_non_exhaustive`Trevor Gross-2/+320
Add a `.finish_non_exhaustive()` method to `DebugTuple`, `DebugSet`, `DebugList`, and `DebugMap`. This indicates that the structures have remaining items with `..`. This implements the ACP at <https://github.com/rust-lang/libs-team/issues/248>.
2024-07-21Make use of raw strings in `core::fmt::builders`Trevor Gross-37/+37
There are quite a few uses of escaped quotes. Turn these into raw strings within documentation and tests to make things easier to read.
2024-07-06Mark format! with must_use hintlukas-3/+3
2022-03-10Use implicit capture syntax in format_argsT-O-R-U-S-63/+63
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).
2021-09-09Ignore automatically derived impls of `Clone` and `Debug` in dead code analysisFabian Wolff-0/+1
2021-04-21Format `Struct { .. }` on one line even with `{:#?}`.Mara Bos-6/+1
2020-07-27mv std libs to library/mark-0/+730