Skip to content

Commit 61be4c0

Browse files
Set version placeholders to 1.68
1 parent 3223711 commit 61be4c0

File tree

7 files changed

+9
-9
lines changed

7 files changed

+9
-9
lines changed

alloc/src/collections/vec_deque/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -537,7 +537,7 @@ impl<T> VecDeque<T> {
537537
/// ```
538538
#[inline]
539539
#[stable(feature = "rust1", since = "1.0.0")]
540-
#[rustc_const_stable(feature = "const_vec_deque_new", since = "CURRENT_RUSTC_VERSION")]
540+
#[rustc_const_stable(feature = "const_vec_deque_new", since = "1.68.0")]
541541
#[must_use]
542542
pub const fn new() -> VecDeque<T> {
543543
// FIXME: This should just be `VecDeque::new_in(Global)` once that hits stable.

alloc/src/string.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2549,7 +2549,7 @@ impl ToString for char {
25492549
}
25502550

25512551
#[cfg(not(no_global_oom_handling))]
2552-
#[stable(feature = "bool_to_string_specialization", since = "CURRENT_RUSTC_VERSION")]
2552+
#[stable(feature = "bool_to_string_specialization", since = "1.68.0")]
25532553
impl ToString for bool {
25542554
#[inline]
25552555
fn to_string(&self) -> String {

core/src/convert/num.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ impl_from! { u32, f64, #[stable(feature = "lossless_float_conv", since = "1.6.0"
169169
impl_from! { f32, f64, #[stable(feature = "lossless_float_conv", since = "1.6.0")] }
170170

171171
// bool -> Float
172-
#[stable(feature = "float_from_bool", since = "CURRENT_RUSTC_VERSION")]
172+
#[stable(feature = "float_from_bool", since = "1.68.0")]
173173
#[rustc_const_unstable(feature = "const_num_from_num", issue = "87852")]
174174
impl const From<bool> for f32 {
175175
/// Converts `bool` to `f32` losslessly.
@@ -178,7 +178,7 @@ impl const From<bool> for f32 {
178178
small as u8 as Self
179179
}
180180
}
181-
#[stable(feature = "float_from_bool", since = "CURRENT_RUSTC_VERSION")]
181+
#[stable(feature = "float_from_bool", since = "1.68.0")]
182182
#[rustc_const_unstable(feature = "const_num_from_num", issue = "87852")]
183183
impl const From<bool> for f64 {
184184
/// Converts `bool` to `f64` losslessly.

core/src/iter/sources/once_with.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ pub struct OnceWith<F> {
7373
gen: Option<F>,
7474
}
7575

76-
#[stable(feature = "iter_once_with_debug", since = "CURRENT_RUSTC_VERSION")]
76+
#[stable(feature = "iter_once_with_debug", since = "1.68.0")]
7777
impl<F> fmt::Debug for OnceWith<F> {
7878
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
7979
if self.gen.is_some() {

core/src/iter/sources/repeat_with.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ pub struct RepeatWith<F> {
7878
repeater: F,
7979
}
8080

81-
#[stable(feature = "iterator_repeat_with_debug", since = "CURRENT_RUSTC_VERSION")]
81+
#[stable(feature = "iterator_repeat_with_debug", since = "1.68.0")]
8282
impl<F> fmt::Debug for RepeatWith<F> {
8383
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
8484
f.debug_struct("RepeatWith").finish_non_exhaustive()

core/src/pin.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1164,7 +1164,7 @@ impl<P, U> DispatchFromDyn<Pin<U>> for Pin<P> where P: DispatchFromDyn<U> {}
11641164
/// constructor.
11651165
///
11661166
/// [`Box::pin`]: ../../std/boxed/struct.Box.html#method.pin
1167-
#[stable(feature = "pin_macro", since = "CURRENT_RUSTC_VERSION")]
1167+
#[stable(feature = "pin_macro", since = "1.68.0")]
11681168
#[rustc_macro_transparency = "semitransparent"]
11691169
#[allow_internal_unstable(unsafe_pin_internals)]
11701170
pub macro pin($value:expr $(,)?) {

std/src/path.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ pub const MAIN_SEPARATOR: char = crate::sys::path::MAIN_SEP;
271271
/// The primary separator of path components for the current platform.
272272
///
273273
/// For example, `/` on Unix and `\` on Windows.
274-
#[stable(feature = "main_separator_str", since = "CURRENT_RUSTC_VERSION")]
274+
#[stable(feature = "main_separator_str", since = "1.68.0")]
275275
pub const MAIN_SEPARATOR_STR: &str = crate::sys::path::MAIN_SEP_STR;
276276

277277
////////////////////////////////////////////////////////////////////////////////
@@ -1778,7 +1778,7 @@ impl ops::Deref for PathBuf {
17781778
}
17791779
}
17801780

1781-
#[stable(feature = "path_buf_deref_mut", since = "CURRENT_RUSTC_VERSION")]
1781+
#[stable(feature = "path_buf_deref_mut", since = "1.68.0")]
17821782
impl ops::DerefMut for PathBuf {
17831783
#[inline]
17841784
fn deref_mut(&mut self) -> &mut Path {

0 commit comments

Comments
 (0)