summary refs log tree commit diff
path: root/library/core/src/fmt/mod.rs
AgeCommit message (Expand)AuthorLines
2024-05-24Move the checks for Arguments constructors to inline constBen Kimock-11/+7
2024-05-24Auto merge of #121150 - Swatinem:debug-ascii-str, r=joboetbors-18/+41
2024-05-23Process a single not-ASCII-printable `char` per iterationArpad Borsos-8/+5
2024-05-23panic_nounwind in Arguments::new* instead of recursingBen Kimock-2/+5
2024-05-20Switch to primarily using `&str`Arpad Borsos-7/+6
2024-05-20Introduce printable-ASCII fast-path for `impl Debug for str`Arpad Borsos-17/+42
2024-05-20Add a fast-path to `Debug` ASCII `&str`Arpad Borsos-0/+5
2024-05-20Write `char::DebugEscape` sequences using `write_str`Arpad Borsos-7/+4
2024-05-09Document proper usage of `fmt::Error` and `fmt()`'s `Result`.Kevin Reid-15/+27
2024-04-14Rollup merge of #123875 - Ghamza-Jd:master, r=joboetMatthias Krüger-6/+6
2024-04-13chore: replace x with y for hexa-decimal fmtHamza Jadid-6/+6
2024-04-12core: get rid of `USIZE_MARKER`joboet-2/+8
2024-04-03rename `expose_addr` to `expose_provenance`joboet-2/+2
2024-03-23Rename `Arguments::as_const_str` to `as_statically_known_str`Josh Stone-5/+9
2024-03-08Auto merge of #122059 - nyurik:with-as-const-str, r=cuviperbors-10/+26
2024-03-05Optimize write with as_const_str for shorter codeYuri Astrakhan-10/+26
2024-03-05Rollup merge of #121065 - CAD97:display-i18n, r=cuviperMatthias Krüger-0/+17
2024-03-04doc wording improvementsChristopher Durham-1/+1
2024-03-04Explain use of display adaptersChristopher Durham-0/+17
2024-02-20fix doc linkYuri Astrakhan-1/+1
2024-02-20A much simpler version of writeYuri Astrakhan-27/+10
2024-02-20remove constYuri Astrakhan-1/+1
2024-02-20add safety textYuri Astrakhan-0/+1
2024-02-20Fix inlining issue for non-const caseYuri Astrakhan-12/+19
2024-02-20Use intrinsicYuri Astrakhan-0/+13
2024-02-20perf: improve write_fmt to handle simple stringsYuri Astrakhan-4/+6
2023-11-10Closure-consuming helper functions for `fmt::Debug` helpersJohn Millikin-0/+3
2023-10-05Add more diagnostic items for clippyJason Newcomb-0/+1
2023-10-01Correct misleading std::fmt::Binary exampleJames Haywood-2/+4
2023-09-28Rollup merge of #112959 - tbu-:pr_fmt_error_wording, r=dtolnayMatthias Krüger-2/+2
2023-09-27Fix "unresolved link to std::fmt::Error" David Tolnay-1/+1
2023-09-17Specialize `fmt::Write::write_fmt` for `Sized` typesBenoît du Garreau-2/+22
2023-07-31Rollup merge of #109318 - joboet:better_fmt_placeholder, r=dtolnayMatthias Krüger-15/+5
2023-06-27Change the wording in `std::fmt::Write::write_str`Tobias Bucher-2/+2
2023-05-15Mark internal functions and traits unsafeLegionMammal978-15/+27
2023-05-09Auto merge of #110027 - nbdd0121:dieting, r=m-ou-sebors-0/+2
2023-05-08Auto merge of #106621 - ozkanonur:enable-elided-lifetimes-for-doctests, r=Mar...bors-24/+22
2023-05-07Add `#[inline]` to functions that are never calledGary Guo-0/+2
2023-05-07enable `rust_2018_idioms` for doctestsozkanonur-24/+22
2023-04-28handle cfg(bootstrap)Pietro Albini-11/+0
2023-04-24Restructure std::fmt::rt a bit.Mara Bos-194/+52
2023-04-24Remove "V1" from ArgumentsV1 and FlagsV1.Mara Bos-23/+23
2023-04-20Remove doc link to private item.Mara Bos-4/+2
2023-04-20Get rid of core::fmt::FormatSpec.Mara Bos-5/+5
2023-04-20Rename fmt::rt::Argument to Placeholder.Mara Bos-4/+4
2023-04-20Turn core::fmt::rt::v1 into a private module.Mara Bos-26/+21
2023-04-20Use fmt::Alignment instead of fmt::rt::v1::Alignment.Mara Bos-12/+12
2023-04-19std: make `Debug` representations of `[Lazy, Once]*[Cell, Lock]` consistent w...joboet-15/+5
2023-03-17Auto merge of #108862 - Mark-Simulacrum:bootstrap-bump, r=pietroalbinibors-3/+3
2023-03-16Don't allow new const panic through format flattening.Mara Bos-2/+24