Function rustc_ast_lowering::format::inline_literals
source · fn inline_literals(fmt: Cow<'_, FormatArgs>) -> Cow<'_, FormatArgs>
Expand description
Inline literals into the format string.
Turns
format_args!("Hello, {}! {} {}", "World", 123, x)
into
format_args!("Hello, World! 123 {}", x)
.