Skip to content

Commit

Permalink
Rollup merge of #103901 - H4x5:fmt-arguments-as-str-tracking-issue, r…
Browse files Browse the repository at this point in the history
…=the8472

Add tracking issue for `const_arguments_as_str`

Tracking issue: #103900

The original PR didn't create a tracking issue.
  • Loading branch information
Yuki Okushi authored Nov 20, 2022
2 parents cd1f782 + 1d971b1 commit 0858ca9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/core/src/fmt/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -510,7 +510,7 @@ impl<'a> Arguments<'a> {
/// assert_eq!(format_args!("{}", 1).as_str(), None);
/// ```
#[stable(feature = "fmt_as_str", since = "1.52.0")]
#[rustc_const_unstable(feature = "const_arguments_as_str", issue = "none")]
#[rustc_const_unstable(feature = "const_arguments_as_str", issue = "103900")]
#[must_use]
#[inline]
pub const fn as_str(&self) -> Option<&'static str> {
Expand Down

0 comments on commit 0858ca9

Please sign in to comment.