about summary refs log tree commit diff
path: root/tests/mir-opt/lower_array_len.array_bound_mut.NormalizeArrayLen.diff
diff options
context:
space:
mode:
authorDylan DPC <99973273+Dylan-DPC@users.noreply.github.com>2023-01-25 17:01:42 +0530
committerGitHub <noreply@github.com>2023-01-25 17:01:42 +0530
commit0c53b215de0c57833756300e81ac9c5f84a541a3 (patch)
tree2ce5f0b6bd7dbe2a93ded41509cbeef83c9723b2 /tests/mir-opt/lower_array_len.array_bound_mut.NormalizeArrayLen.diff
parent9e6873f7888c64bbded5de761489c0a0f0df826b (diff)
parenta37b4842220a647902a25fcfe68a7d52cda056ad (diff)
downloadrust-0c53b215de0c57833756300e81ac9c5f84a541a3.tar.gz
rust-0c53b215de0c57833756300e81ac9c5f84a541a3.zip
Rollup merge of #106823 - m-ou-se:format-args-as-str-guarantees, r=dtolnay
Allow fmt::Arguments::as_str() to return more Some(_).

This adjusts the documentation to allow optimization of format_args!() to be visible through fmt::Arguments::as_str().

This allows for future changes like https://github.com/rust-lang/rust/pull/106824.
Diffstat (limited to 'tests/mir-opt/lower_array_len.array_bound_mut.NormalizeArrayLen.diff')
0 files changed, 0 insertions, 0 deletions