aboutsummaryrefslogtreecommitdiffstats
path: root/src/format.rs
Commit message (Collapse)AuthorAgeFilesLines
* Update to latest quote-1.0.3Chih-Hung Hsieh2020-03-201-4/+4
| | | | | | | | | * fill back missing NOTICE,METADATA,*LICENSE* files Bug: 150877376 Test: make Test: atest --host -c --include-subdirs external/rust/crates Change-Id: I7c9c7d922a0fef4939ffda8bf36eff0402086cc3
* Space apart rustdoc sectionsDavid Tolnay2019-08-101-0/+10
|
* Remove excessive doc linkingDavid Tolnay2019-08-101-8/+8
|
* Remove format_ident panic case from docDavid Tolnay2019-08-101-2/+2
| | | | | | | | | | | | | | Formatting trait implementations are specified to be infallible. > Formatting implementations should ensure that they propagate errors > from the Formatter (e.g., when calling write!). However, they should > never return errors spuriously. That is, a formatting implementation > must and may only return an error if the passed-in Formatter returns > an error. This is because, contrary to what the function signature > might suggest, string formatting is an infallible operation. This > function only returns a result because writing to the underlying > stream might fail and it must provide a way to propagate the fact that > an error has occurred back up the stack.
* Make the description of formatting traits more recognizableDavid Tolnay2019-08-101-5/+5
|
* Remove ```edition2018 now that whole crate is on 2018David Tolnay2019-08-031-4/+4
|
* Stricter about trailing commas in format_identDavid Tolnay2019-07-181-4/+13
| | | | The implementation previously allowed multiple trailing commas.
* Clarify names of format_ident macro variablesDavid Tolnay2019-07-181-16/+16
|
* Split format_ident private rules to a hidden macroDavid Tolnay2019-07-181-25/+29
| | | | Removes the distracting extra rules from the macro's rendered rustdoc.
* Give format_ident macro its own moduleDavid Tolnay2019-07-181-0/+141