Josh Soref
c8aba78613
grammar: subject-verb not subject-verb-verb
2020-05-06 18:59:52 -04:00
Josh Soref
5f54ce7ec9
grammar: disambiguate space-character
2020-05-06 18:58:45 -04:00
Josh Soref
39b5b7000a
grammar: count-agreement default ... is
2020-05-06 18:58:12 -04:00
Josh Soref
642541307f
grammar: which vs that
2020-05-06 18:56:25 -04:00
Dylan Nugent
7c60405dd6
Add note about localization to std::fmt docs
2020-03-09 12:31:33 -04:00
Matthew Kraai
21e636f188
Remove redundant link texts
2019-12-26 05:04:46 -08:00
Ross MacArthur
f7256d28d1
Require issue = "none" over issue = "0" in unstable attributes
2019-12-21 13:16:18 +02:00
David Tolnay
1c4d453969
Format liballoc with rustfmt
2019-11-29 20:25:07 -08:00
Ralf Jung
c0b7e769a0
example for padding any format
2019-10-17 23:02:09 +02:00
Ralf Jung
4e6efe4811
reorder fmt docs for more clarity
2019-10-17 21:22:46 +02:00
Ralf Jung
504cc20844
remove confusing and redundant subsection
2019-10-12 15:35:15 +02:00
Ralf Jung
f727f8ae5e
move Formatting Traits down
2019-10-12 13:31:58 +02:00
Ralf Jung
a14601e06c
std::fmt: move format string grammar to the bottom
2019-10-12 13:26:31 +02:00
Martin Pool
6225b312cf
Make clear that format padding doesn't work for Debug
...
As mentioned in
https://github.com/rust-lang/rust/issues/46006#issuecomment-345260633
2019-04-13 15:39:49 +10:00
Alexander Regueiro
b87363e763
tests: doc comments
2019-02-10 23:42:32 +00:00
Mazdak Farrokhzad
2396780cda
liballoc: revert nested imports style changes.
2019-02-03 08:27:44 +01:00
Mazdak Farrokhzad
857530cef1
liballoc: fix some idiom lints.
2019-02-02 12:48:12 +01:00
Mazdak Farrokhzad
7693e3e666
liballoc: refactor & fix some imports.
2019-02-02 10:14:40 +01:00
Mazdak Farrokhzad
e6e27924e1
liballoc: cargo check passes on 2018
2019-02-02 08:36:45 +01:00
Czipperz
56d6ff0634
Mention ToString in std::fmt docs
2018-12-29 19:17:03 -05:00
Mark Rousskov
2a663555dd
Remove licenses
2018-12-25 21:08:33 -07:00
kennytm
7538c62501
Rollup merge of #55050 - tshepang:repetition, r=steveklabnik
...
doc std::fmt: the Python inspiration is already mentioned in precedin…
…g paragraph
2018-10-18 12:54:54 +08:00
Tshepang Lekhonkhobe
91f57787c0
doc std::fmt: the Python inspiration is already mentioned in preceding paragraph
2018-10-13 21:39:21 +02:00
Tshepang Lekhonkhobe
2bb85b236a
doc: fix sentence structure in std::fmt
2018-10-13 21:20:36 +02:00
Guillaume Gomez
804984836e
Reexport fmt::Alignment into std
2018-06-03 17:04:48 +02:00
Martin Carton
91f7ae26b0
Add inner links in documentation
...
From [this SO question](https://stackoverflow.com/q/50518757/2733851 ) it looks like this page isn't really clear.
I personally do think this page is quite clear, the only think I could think of was adding some references.
2018-05-25 22:55:33 +02:00
kennytm
b4bc2b0cf8
Rollup merge of #49401 - alercah:format, r=cramertj
...
Add missing '?' to format grammar.
2018-03-27 10:47:54 +02:00
Alexis Hunt
554dd3e350
Add missing '?' to format grammar.
2018-03-26 21:18:50 -04:00
Simon Sapin
741d7a5598
Docs: fix incorrect copy-paste for new X? in formatting strings
2018-03-19 07:37:59 +01:00
Simon Sapin
4897935e86
Add hexadecimal formatting of integers with fmt::Debug
...
This can be used for integers within a larger types which implements Debug
(possibly through derive) but not fmt::UpperHex or fmt::LowerHex.
```rust
assert!(format!("{:02x?}", b"Foo\0") == "[46, 6f, 6f, 00]");
assert!(format!("{:02X?}", b"Foo\0") == "[46, 6F, 6F, 00]");
```
RFC: https://github.com/rust-lang/rfcs/pull/2226
2018-03-13 14:53:06 +01:00
David Alber
2f51f671c4
Adding eprint*! to the list of macros in the format! family
2017-11-22 20:44:05 -08:00
Martin Lindhe
ece9a57d1b
fix some typos
2017-11-21 15:33:45 +01:00
Marco A L Barbosa
941852eef3
Fix some docs summary nits
2017-11-20 14:46:31 -02:00
steveklabnik
f8f9005e57
Fix most rendering warnings from switching to CommonMark
2017-10-20 15:29:35 -04:00
Guillaume Gomez
86fd9a552d
Add missing url for fmt module
2017-08-18 16:32:38 +02:00
Guillaume Gomez
f0fb7ab0e7
Add missing link in fmt::format function
2017-08-12 16:54:12 +02:00
Guillaume Gomez
e5938ef3c4
Add (a lot of) missing links in fmt module docs
2017-08-11 13:43:31 +02:00
Ariel Ben-Yehuda
5682494cf8
Rollup merge of #42832 - rthomas:doc-fmt, r=steveklabnik
...
Update docs for std::fmt::format #29355 .
This rewords and removes the `Arguments` section from the docs for
fmt::format.
r? @steveklabnik
2017-06-29 08:40:03 +00:00
kennytm
4711982314
Removed as many "```ignore" as possible.
...
Replaced by adding extra imports, adding hidden code (`# ...`), modifying
examples to be runnable (sorry Homura), specifying non-Rust code, and
converting to should_panic, no_run, or compile_fail.
Remaining "```ignore"s received an explanation why they are being ignored.
2017-06-23 15:31:53 +08:00
Ryan Thomas
c5d078fd8c
Update docs for std::fmt::format #29355 .
...
This rewords and removes the `Arguments` section from the docs for
fmt::format.
r? @steveklabnik
2017-06-22 20:08:38 +01:00
Murarth
eadda7665e
Merge crate collections into alloc
2017-06-13 23:37:34 -07:00