Skip to content

Tracking Issue for std::fmt::Arguments::from_str #115352

Open
@m-ou-se

Description

@m-ou-se

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

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?

Footnotes

  1. https://std-dev-guide.rust-lang.org/feature-lifecycle/stabilization.html

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-fmtArea: `core::fmt`C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCT-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions