diff options
| author | LingMan <LingMan@users.noreply.github.com> | 2021-05-03 13:00:34 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-05-03 13:00:34 +0200 |
| commit | eb9f168e1e8a447e24b2cda2a57d7ba05d6ab71e (patch) | |
| tree | 9b52e343cf052d4284776b52157bf021096c2eb2 /library/alloc/src/string.rs | |
| parent | e327a823d8b64e294e490efeca7829f383aa119d (diff) | |
| download | rust-eb9f168e1e8a447e24b2cda2a57d7ba05d6ab71e.tar.gz rust-eb9f168e1e8a447e24b2cda2a57d7ba05d6ab71e.zip | |
Fix stability attributes of byte-to-string specialization
Diffstat (limited to 'library/alloc/src/string.rs')
| -rw-r--r-- | library/alloc/src/string.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/library/alloc/src/string.rs b/library/alloc/src/string.rs index 509ff9ce4d1..4aeb3de6592 100644 --- a/library/alloc/src/string.rs +++ b/library/alloc/src/string.rs @@ -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 { |
