X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=library%2Falloc%2Fsrc%2Fstring.rs;h=ca182c8109ec97d3f1ad5dc01353a342e656d0f2;hb=800221b5b8f52c59e12e9aae282288c60c87285c;hp=3118c7189a5ed2ec68bbc502be2ed9e97783d08b;hpb=b829bb74315568e18be0426a37fadd78cd2c485a;p=rust.git diff --git a/library/alloc/src/string.rs b/library/alloc/src/string.rs index 3118c7189a5..ca182c8109e 100644 --- a/library/alloc/src/string.rs +++ b/library/alloc/src/string.rs @@ -2549,7 +2549,7 @@ fn to_string(&self) -> String { } #[cfg(not(no_global_oom_handling))] -#[stable(feature = "bool_to_string_specialization", since = "CURRENT_RUSTC_VERSION")] +#[stable(feature = "bool_to_string_specialization", since = "1.68.0")] impl ToString for bool { #[inline] fn to_string(&self) -> String {