Add tracking issue number for fmt_as_str.

This commit is contained in:
Mara Bos 2020-07-17 15:59:31 +02:00
parent 0c51f53edf
commit 9c3353b97c

View file

@ -439,7 +439,7 @@ impl<'a> Arguments<'a> {
/// assert_eq!(format_args!("").as_str(), Some(""));
/// assert_eq!(format_args!("{}", 1).as_str(), None);
/// ```
#[unstable(feature = "fmt_as_str", issue = "none")]
#[unstable(feature = "fmt_as_str", issue = "74442")]
#[inline]
pub fn as_str(&self) -> Option<&'static str> {
match (self.pieces, self.args) {