summary refs log tree commit diff
path: root/library/std/src/sys_common/wtf8
AgeCommit message (Collapse)AuthorLines
2022-03-10Use implicit capture syntax in format_argsT-O-R-U-S-2/+2
This updates the standard library's documentation to use the new syntax. The documentation is worthwhile to update as it should be more idiomatic (particularly for features like this, which are nice for users to get acquainted with). The general codebase is likely more hassle than benefit to update: it'll hurt git blame, and generally updates can be done by folks updating the code if (and when) that makes things more readable with the new format. A few places in the compiler and library code are updated (mostly just due to already having been done when this commit was first authored).
2021-06-20Auto merge of #86463 - fee1-dead:fixed-encode_wide, r=m-ou-sebors-0/+12
Account for self.extra in size_hint for EncodeWide Fixes #86414.
2021-06-19Account for self.extra in size_hint for EncodeWideDeadbeef-0/+12
2021-06-18Lint for unused borrows as part of UNUSED_MUST_USEhi-rustin-3/+3
2020-08-31std: move "mod tests/benches" to separate filesLzu Tao-0/+397
Also doing fmt inplace as requested.