summary refs log tree commit diff
path: root/library/core/src/fmt/mod.rs
AgeCommit message (Expand)AuthorLines
2025-01-24Fix `FormattingOptions` instantiation with `Default`Yuri Astrakhan-1/+10
2025-01-05[generic_assert] Constify methods used by the formatting systemCaio-2/+2
2024-12-21Less unwrap() in documentationKornel-4/+7
2024-12-05Access members of `FormattingOptions` directly instead of via getters/settersElias Holzmann-38/+36
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-13/+13
2024-11-27update cfgsBoxy-4/+0
2024-11-27replace placeholder versionBoxy-1/+1
2024-11-03stabilize const_arguments_as_strRalf Jung-2/+1
2024-10-25Re-do recursive const stability checksRalf Jung-1/+5
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-2/+2
2024-08-18Document futility of printing temporary pointersKornel-2/+10
2024-08-14Rollup merge of #129001 - cblh:fix/128713, r=NoratriebMatthias Krüger-0/+5
2024-08-13chore(lib): fmt core::fmt::Formatter's write_fmt methodburlinchen-1/+1
2024-08-12std::fmt::FormatterFn -> std::fmt::FromFnschvv31n-1/+1
2024-08-12chore(lib): Enhance documentation for core::fmt::Formatter's write_fmt methodburlinchen-0/+5
2024-07-29Reformat `use` declarations.Nicholas Nethercote-7/+3
2024-07-26Fix doc nitsJohn Arundel-42/+56
2024-07-05Improve readability of some fmt code examplesGuillaume Gomez-7/+15
2024-06-30Rollup merge of #127069 - Sky9x:fmt-pointer-use-addr, r=NilstriebMatthias Krüger-2/+1
2024-06-29small correction to fmt::Pointer implSky-2/+1
2024-06-25fix UI test, simplify error messagejoboet-0/+6
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