Skip to content

Commit 5fefabb

Browse files
branch 1.78: replace-version-placeholder
1 parent 66b9f79 commit 5fefabb

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

std/src/io/error.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ impl From<alloc::ffi::NulError> for Error {
8383
}
8484
}
8585

86-
#[stable(feature = "io_error_from_try_reserve", since = "CURRENT_RUSTC_VERSION")]
86+
#[stable(feature = "io_error_from_try_reserve", since = "1.78.0")]
8787
impl From<alloc::collections::TryReserveError> for Error {
8888
/// Converts `TryReserveError` to an error with [`ErrorKind::OutOfMemory`].
8989
///

std/src/io/stdio.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -453,7 +453,7 @@ impl Read for Stdin {
453453
}
454454
}
455455

456-
#[stable(feature = "read_shared_stdin", since = "CURRENT_RUSTC_VERSION")]
456+
#[stable(feature = "read_shared_stdin", since = "1.78.0")]
457457
impl Read for &Stdin {
458458
fn read(&mut self, buf: &mut [u8]) -> io::Result<usize> {
459459
self.lock().read(buf)

std/src/sync/barrier.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ impl Barrier {
8181
/// let barrier = Barrier::new(10);
8282
/// ```
8383
#[stable(feature = "rust1", since = "1.0.0")]
84-
#[rustc_const_stable(feature = "const_barrier", since = "CURRENT_RUSTC_VERSION")]
84+
#[rustc_const_stable(feature = "const_barrier", since = "1.78.0")]
8585
#[must_use]
8686
#[inline]
8787
pub const fn new(n: usize) -> Barrier {

0 commit comments

Comments
 (0)