diff options
| author | Mark Rousskov <mark.simulacrum@gmail.com> | 2024-03-17 10:36:26 -0400 | 
|---|---|---|
| committer | Mark Rousskov <mark.simulacrum@gmail.com> | 2024-03-19 19:27:24 -0400 | 
| commit | 4fb89c5056666493b224b47c58e8b136fc244008 (patch) | |
| tree | dea23a8798300c2989bd7cc428b1fbb722b28ce0 /library/std/src | |
| parent | a7e4de13c1785819f4d61da41f6704ed69d5f203 (diff) | |
| download | rust-4fb89c5056666493b224b47c58e8b136fc244008.tar.gz rust-4fb89c5056666493b224b47c58e8b136fc244008.zip | |
branch 1.78: replace-version-placeholder
Diffstat (limited to 'library/std/src')
| -rw-r--r-- | library/std/src/io/error.rs | 2 | ||||
| -rw-r--r-- | library/std/src/io/stdio.rs | 2 | ||||
| -rw-r--r-- | library/std/src/sync/barrier.rs | 2 | 
3 files changed, 3 insertions, 3 deletions
| diff --git a/library/std/src/io/error.rs b/library/std/src/io/error.rs index 7ae15e0fd01..85625116d02 100644 --- a/library/std/src/io/error.rs +++ b/library/std/src/io/error.rs @@ -83,7 +83,7 @@ impl From<alloc::ffi::NulError> for Error { } } -#[stable(feature = "io_error_from_try_reserve", since = "CURRENT_RUSTC_VERSION")] +#[stable(feature = "io_error_from_try_reserve", since = "1.78.0")] impl From<alloc::collections::TryReserveError> for Error { /// Converts `TryReserveError` to an error with [`ErrorKind::OutOfMemory`]. /// diff --git a/library/std/src/io/stdio.rs b/library/std/src/io/stdio.rs index ccc2ed91688..8f60b3b1535 100644 --- a/library/std/src/io/stdio.rs +++ b/library/std/src/io/stdio.rs @@ -453,7 +453,7 @@ impl Read for Stdin { } } -#[stable(feature = "read_shared_stdin", since = "CURRENT_RUSTC_VERSION")] +#[stable(feature = "read_shared_stdin", since = "1.78.0")] impl Read for &Stdin { fn read(&mut self, buf: &mut [u8]) -> io::Result<usize> { self.lock().read(buf) diff --git a/library/std/src/sync/barrier.rs b/library/std/src/sync/barrier.rs index 764fa284794..b4bac081e7a 100644 --- a/library/std/src/sync/barrier.rs +++ b/library/std/src/sync/barrier.rs @@ -81,7 +81,7 @@ impl Barrier { /// let barrier = Barrier::new(10); /// ``` #[stable(feature = "rust1", since = "1.0.0")] - #[rustc_const_stable(feature = "const_barrier", since = "CURRENT_RUSTC_VERSION")] + #[rustc_const_stable(feature = "const_barrier", since = "1.78.0")] #[must_use] #[inline] pub const fn new(n: usize) -> Barrier { | 
