mirror of
https://github.com/rust-lang/rust.git
synced 2025-05-14 02:49:40 +00:00
Fix stability attributes of byte-to-string specialization
This commit is contained in:
parent
e327a823d8
commit
eb9f168e1e
@ -2288,7 +2288,7 @@ impl ToString for char {
|
||||
}
|
||||
}
|
||||
|
||||
#[stable(feature = "u8_to_string_specialization", since = "1.999.0")]
|
||||
#[stable(feature = "u8_to_string_specialization", since = "1.54.0")]
|
||||
impl ToString for u8 {
|
||||
#[inline]
|
||||
fn to_string(&self) -> String {
|
||||
@ -2307,7 +2307,7 @@ impl ToString for u8 {
|
||||
}
|
||||
}
|
||||
|
||||
#[stable(feature = "i8_to_string_specialization", since = "1.999.0")]
|
||||
#[stable(feature = "i8_to_string_specialization", since = "1.54.0")]
|
||||
impl ToString for i8 {
|
||||
#[inline]
|
||||
fn to_string(&self) -> String {
|
||||
|
Loading…
Reference in New Issue
Block a user