summary refs log tree commit diff
path: root/library/core/src/fmt
AgeCommit message (Expand)AuthorLines
2025-06-22Implement DesugaringKind::FormatLiteralmejrs-7/+12
2025-06-20Convert `ilog(10)` to `ilog10()`Chai T. Rex-4/+4
2025-06-20Auto merge of #142294 - GuillaumeGomez:specialize-tostring-on-128-integers, r...bors-94/+105
2025-06-18Allow storing `format_args!()` in `let`.Mara Bos-36/+2
2025-06-16library/compiler: add `PointeeSized` boundsDavid Wood-18/+18
2025-06-16Specialize `ToString` implementation on `u128` and `i128`Guillaume Gomez-15/+13
2025-06-16Implement `_fmt` on `u128`Guillaume Gomez-94/+107
2025-06-11faster fmt::Display of 128-bit integers, without unsafe pointerPascal S. de Kloe-152/+128
2025-06-06Compute number of digits instead of relying on constant value for u128 displa...Guillaume Gomez-2/+2
2025-06-03`Display`: Rework explanation of `FromStr`/`Display` round-trippingJosh Triplett-2/+7
2025-06-03Improve the documentation of `Display` and `FromStr`, and their interactionsJosh Triplett-0/+9
2025-05-22Rollup merge of #141130 - mejrs:use_self, r=compiler-errorsMatthias Krüger-5/+5
2025-05-18float: Add `f16` parsing and printingTrevor Gross-0/+36
2025-05-17Switch library rustc_unimplemented to use `Self` and `This`mejrs-5/+5
2025-05-15Auto merge of #136264 - GuillaumeGomez:optimize-integers-to-string, r=Amanieubors-9/+19
2025-05-12update cfg(bootstrap)Pietro Albini-8/+0
2025-05-01Clean up "const" situation in format_args!().Mara Bos-21/+27
2025-05-01Move core::fmt::Arguments::new_v1* to rt.rs.Mara Bos-36/+44
2025-04-30Rollup merge of #139624 - m-ou-se:unconst-format-args, r=jhprattMatthias Krüger-1/+8
2025-04-15Add commentAlice Ryhl-0/+19
2025-04-15Use full path for core::mem::transmuteAlice Ryhl-2/+2
2025-04-12Optimize `ToString` implementation for integersGuillaume Gomez-9/+19
2025-04-12cfg(kcfi)Alice Ryhl-1/+8
2025-04-11Update library/core/src/fmt/rt.rsAlice Ryhl-1/+0
2025-04-10cfi: do not transmute function pointers in formatting codeAlice Ryhl-23/+24
2025-04-10Don't allow flattened format_args in const.Mara Bos-1/+8
2025-04-09update cfgsBoxy-55/+2
2025-04-06Rollup merge of #139123 - thaliaarchi:core-alloc-test-paths, r=bjorn3Stuart Cook-2/+2
2025-04-05tidy: Fix paths to coretests and alloctestsThalia Archibald-2/+2
2025-04-04make `Arguments::as_statically_known_str` doc(hidden)mejrs-0/+1
2025-03-30Simplify expansion for format_args!().Mara Bos-7/+1
2025-03-22Auto merge of #136974 - m-ou-se:fmt-options-64-bit, r=scottmcmbors-187/+234
2025-03-21Add todo comment on using a niche type for fmt flags.Mara Bos-0/+2
2025-03-18Optimize io::Write::write_fmt for constant stringsThalia Archibald-1/+2
2025-03-16Rollup merge of #135080 - Enselic:debug-ptr-metadata, r=thomcc许杰友 Jieyou Xu (Joe)-1/+8
2025-03-16Rollup merge of #138082 - thaliaarchi:slice-cfg-not-test, r=thomcc许杰友 Jieyou Xu (Joe)-1/+1
2025-03-12Reduce FormattingOptions to 64 bits.Mara Bos-187/+232
2025-03-10Add #[track_caller] to from_usize.Mara Bos-0/+1
2025-03-10Remove unnecessary semicolon.Mara Bos-1/+1
2025-03-10Limit formatting width and precision to 16 bits.Mara Bos-33/+43
2025-03-06Remove #[cfg(not(test))] gates in coreThalia Archibald-1/+1
2025-02-27Count char width at most once in Formatter::padThalia Archibald-37/+29
2025-02-19Rollup merge of #120580 - HTGAzureX1212:HTGAzureX1212/issue-45795, r=m-ou-seMatthias Krüger-3/+3
2025-02-16add MAX_LEN_UTF8 and MAX_LEN_UTF16 constantsHTGAzureX1212-3/+3
2025-02-15core: Make `Debug` impl of raw pointers print metadata if presentMartin Nordholts-1/+8
2025-02-06Auto merge of #136409 - TDecking:mul_hi, r=Mark-Simulacrumbors-20/+1
2025-02-05Rollup merge of #136502 - yotamofek:pr/fmt-from-fn-must-use, r=dtolnayLeón Orell Valerian Liehr-0/+1
2025-02-03Mark `std::fmt::from_fn` as `#[must_use]`Yotam Ofek-0/+1
2025-02-03no unsafe pointer and no overflowing_literals in fmt::Display of integersPascal S. de Kloe-68/+75
2025-02-01Use `widening_mul`Tobias Decking-20/+1