rust/library
bors 4a8d2e3856 Auto merge of #97480 - conradludgate:faster-format-literals, r=joshtriplett
improve format impl for literals

The basic idea of this change can be seen here https://godbolt.org/z/MT37cWoe1.

Updates the format impl to have a fast path for string literals and the default path for regular format args.

This change will allow `format!("string literal")` to be used interchangably with `"string literal".to_owned()`.

This would be relevant in the case of `f!"string literal"` being legal (https://github.com/rust-lang/rfcs/pull/3267) in which case it would be the easiest way to create owned strings from literals, while also being just as efficient as any other impl
2022-05-30 17:39:58 +00:00
..
alloc Auto merge of #97480 - conradludgate:faster-format-literals, r=joshtriplett 2022-05-30 17:39:58 +00:00
backtrace@4e5a3f7292
core Rollup merge of #97545 - thomcc:sip-comment-safety, r=Dylan-DPC 2022-05-30 14:33:53 +02:00
panic_abort
panic_unwind
portable-simd Finish bumping stage0 2022-05-27 07:36:17 -04:00
proc_macro proc_macro: don't pass a client-side function pointer through the server. 2022-05-27 19:29:21 +00:00
profiler_builtins
rtstartup
rustc-std-workspace-alloc
rustc-std-workspace-core
rustc-std-workspace-std
std Rollup merge of #97499 - est31:master, r=Dylan-DPC 2022-05-30 14:33:49 +02:00
stdarch@28335054b1
test
unwind