Y
Hacker News
new
|
ask
|
show
|
jobs
by
kibwen
1620 days ago
In theory f-strings could act as the format_args! macro, not the format! macro. While the latter produces a String, the former produces a std::fmt::Arguments, and does not need to allocate memory (it lives in core).