rust/src/tools
bors de42550d0a Auto merge of #83302 - camsteffen:write-piece-unchecked, r=dtolnay
Get piece unchecked in `write`

We already use specialized `zip`, but it seems like we can do a little better by not checking `pieces` length at all.

`Arguments` constructors are now unsafe. So the `format_args!` expansion now includes an `unsafe` block.

<details>
<summary>Local Bench Diff</summary>

```text
 name                        before ns/iter  after ns/iter  diff ns/iter   diff %  speedup
 fmt::write_str_macro1       22,967          19,718               -3,249  -14.15%   x 1.16
 fmt::write_str_macro2       35,527          32,654               -2,873   -8.09%   x 1.09
 fmt::write_str_macro_debug  571,953         575,973               4,020    0.70%   x 0.99
 fmt::write_str_ref          9,579           9,459                  -120   -1.25%   x 1.01
 fmt::write_str_value        9,573           9,572                    -1   -0.01%   x 1.00
 fmt::write_u128_max         176             173                      -3   -1.70%   x 1.02
 fmt::write_u128_min         138             134                      -4   -2.90%   x 1.03
 fmt::write_u64_max          139             136                      -3   -2.16%   x 1.02
 fmt::write_u64_min          129             135                       6    4.65%   x 0.96
 fmt::write_vec_macro1       24,401          22,273               -2,128   -8.72%   x 1.10
 fmt::write_vec_macro2       37,096          35,602               -1,494   -4.03%   x 1.04
 fmt::write_vec_macro_debug  588,291         589,575               1,284    0.22%   x 1.00
 fmt::write_vec_ref          9,568           9,732                   164    1.71%   x 0.98
 fmt::write_vec_value        9,516           9,625                   109    1.15%   x 0.99
```
</details>
2021-08-23 22:55:19 +00:00
..
build-manifest Rollup merge of #87693 - badboy:enable-ios-sim-target-manifest, r=Mark-Simulacrum 2021-08-03 19:07:46 +09:00
cargo@e96bdb0c3d Update cargo 2021-08-17 17:38:07 -07:00
cargotest rfc3052: Remove authors field from Cargo manifests 2021-07-29 14:56:05 -07:00
clippy Auto merge of #83302 - camsteffen:write-piece-unchecked, r=dtolnay 2021-08-23 22:55:19 +00:00
compiletest Fix typos “a”→“an” 2021-08-22 15:35:11 +02:00
error_index_generator rfc3052: Remove authors field from Cargo manifests 2021-07-29 14:56:05 -07:00
expand-yaml-anchors rfc3052: Remove authors field from Cargo manifests 2021-07-29 14:56:05 -07:00
html-checker rfc3052: Remove authors field from Cargo manifests 2021-07-29 14:56:05 -07:00
jsondocck rfc3052: Remove authors field from Cargo manifests 2021-07-29 14:56:05 -07:00
linkchecker Fix typo -- "The" -> "They" 2021-08-06 18:40:36 -05:00
lint-docs rfc3052: Remove authors field from Cargo manifests 2021-07-29 14:56:05 -07:00
miri@042cbf175b update Miri 2021-08-07 17:46:45 +02:00
remote-test-client rfc3052: Remove authors field from Cargo manifests 2021-07-29 14:56:05 -07:00
remote-test-server rfc3052: Remove authors field from Cargo manifests 2021-07-29 14:56:05 -07:00
rls@a82a052705 Update RLS 2021-07-21 15:17:31 +02:00
rust-analyzer@996300f4a0 ⬆️ rust-analyzer 2021-08-23 09:01:38 +03:00
rust-demangler rfc3052: Remove authors field from Cargo manifests 2021-07-29 14:56:05 -07:00
rust-installer@5254dbfd25 bump rust-installer submodule 2020-12-28 12:48:11 +01:00
rustbook Update mdbook. 2021-08-02 09:20:29 -07:00
rustc-workspace-hack rfc3052: Remove authors field from Cargo manifests 2021-07-29 14:56:05 -07:00
rustdoc rfc3052: Remove authors field from Cargo manifests 2021-07-29 14:56:05 -07:00
rustdoc-gui Greatly improve limitation handling on parallel rustdoc GUI test run 2021-08-23 14:23:59 +02:00
rustdoc-js Fix rustdoc-js tool string "parsing" 2021-08-11 20:20:17 +02:00
rustdoc-themes rfc3052: Remove authors field from Cargo manifests 2021-07-29 14:56:05 -07:00
rustfmt Fix typos “an”→“a” and a few different ones that appeared in the same search 2021-08-22 18:15:49 +02:00
tidy Fix typos “an”→“a” and a few different ones that appeared in the same search 2021-08-22 18:15:49 +02:00
tier-check rfc3052: Remove authors field from Cargo manifests 2021-07-29 14:56:05 -07:00
unicode-table-generator rfc3052: Remove authors field from Cargo manifests 2021-07-29 14:56:05 -07:00
unstable-book-gen rfc3052: Remove authors field from Cargo manifests 2021-07-29 14:56:05 -07:00
x rfc3052: Remove authors field from Cargo manifests 2021-07-29 14:56:05 -07:00
cherry-pick.sh Add cherry-pick.sh convenience script. 2021-08-20 11:58:18 +01:00
publish_toolstate.py Fix some Python2->3 error in publish_toolstate.py by type-checking it 2021-02-20 18:48:22 -05:00