Skip to content

Commit eb9f168

Browse files
authored
Fix stability attributes of byte-to-string specialization
1 parent e327a82 commit eb9f168

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

library/alloc/src/string.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -2288,7 +2288,7 @@ impl ToString for char {
22882288
}
22892289
}
22902290

2291-
#[stable(feature = "u8_to_string_specialization", since = "1.999.0")]
2291+
#[stable(feature = "u8_to_string_specialization", since = "1.54.0")]
22922292
impl ToString for u8 {
22932293
#[inline]
22942294
fn to_string(&self) -> String {
@@ -2307,7 +2307,7 @@ impl ToString for u8 {
23072307
}
23082308
}
23092309

2310-
#[stable(feature = "i8_to_string_specialization", since = "1.999.0")]
2310+
#[stable(feature = "i8_to_string_specialization", since = "1.54.0")]
23112311
impl ToString for i8 {
23122312
#[inline]
23132313
fn to_string(&self) -> String {

0 commit comments

Comments
 (0)