Open
Description
Feature gate: #![feature(fmt_arguments_from_str)]
This is a tracking issue for std::fmt::Arguments::from_str
.
Public API
// core::fmt
impl Arguments<'_> {
pub const fn from_str(string: &'static str) -> Self;
}
Steps / History
- Implementation: New fmt::Arguments representation. #115129
- Final comment period (FCP)1
- Stabilization PR
Unresolved Questions
- Are we comfortable committing to restricting future fmt::Arguments implementations by always having to support conversion from
&'static str
? - Naming (
new
,new_const
,new_str
, ...?) - Should this (also) be available as
From<&'static str>
implementation?