branch 1.78: replace-version-placeholder

This commit is contained in:
Mark Rousskov
2024-03-17 10:36:26 -04:00
parent a7e4de13c1
commit 4fb89c5056
6 changed files with 14 additions and 14 deletions

View File

@@ -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 {