about summary refs log tree commit diff
path: root/library/core/src/fmt
AgeCommit message (Expand)AuthorLines
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
2025-01-24Fix `FormattingOptions` instantiation with `Default`Yuri Astrakhan-1/+10
2025-01-05[generic_assert] Constify methods used by the formatting systemCaio-8/+8
2024-12-21Less unwrap() in documentationKornel-4/+7
2024-12-08Switch inline(always) in core/src/fmt/rt.rs to plain inlineBen Kimock-17/+17
2024-12-05Access members of `FormattingOptions` directly instead of via getters/settersElias Holzmann-41/+39
2024-12-05Removed constness for methods receiving a `&mut` parameterElias Holzmann-11/+11
2024-12-05Added better reason for exposing `flags` and `get_flags` as unstableElias Holzmann-2/+10
2024-12-05FormattedElias Holzmann-12/+10
2024-12-05Refactored FormattingOptions to use a bitmask for storing flagsElias Holzmann-44/+46
2024-12-05Revert "Turned public+unstable+hidden functions into private functions"Elias Holzmann-2/+6
2024-12-05Turned public+unstable+hidden functions into private functionsElias Holzmann-6/+2
2024-12-05Made all fns constElias Holzmann-22/+22
2024-12-05impl Default for fmt::FormattingOptionsElias Holzmann-1/+1
2024-12-05Fixed copy+paste error in commentElias Holzmann-1/+1
2024-12-05fmt::FormattingOptions: Renamed `alignment` to `align`Elias Holzmann-13/+13
2024-12-05Formatter::with_options: Use different lifetimesElias Holzmann-1/+1
2024-12-05Added struct `fmt::FormattingOptions`Elias Holzmann-68/+313
2024-12-05Formatter: Access members via getter methods wherever possibleElias Holzmann-16/+16
2024-11-27update cfgsBoxy-4/+0
2024-11-27replace placeholder versionBoxy-1/+1
2024-11-23Improve code by using `unsigned_abs`Guillaume Gomez-18/+2
2024-11-20Reduce integer `Display` implementation sizeGuillaume Gomez-41/+41
2024-11-14Auto merge of #133026 - workingjubilee:rollup-q8ig6ah, r=workingjubileebors-1/+1
2024-11-13Rollup merge of #131304 - RalfJung:float-core, r=tgross35Jubilee-1/+1
2024-11-14Auto merge of #122770 - iximeow:ixi/int-formatting-optimization, r=workingjub...bors-4/+4
2024-11-12remove no-longer-needed abs_privateRalf Jung-1/+1
2024-11-04Fixed typo, rebasedEugene Shamis-1/+1
2024-11-04Updated SAFETY comment to address underflowEugene Shamis-2/+3
2024-11-04Replace checked slice indexing by unchecked to support panic-free codeEugene Shamis-1/+3
2024-11-03stabilize const_arguments_as_strRalf Jung-2/+1
2024-10-25Re-do recursive const stability checksRalf Jung-1/+5