Skip to content

Commit 810d322

Browse files
authored
Rollup merge of #74552 - fusion-engineering-forks:stabilize-tau, r=dtolnay
Stabilize TAU constant. Closes #66770.
2 parents b7357c4 + 5d4147a commit 810d322

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/libcore/num/f32.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ pub mod consts {
242242
/// The full circle constant (τ)
243243
///
244244
/// Equal to 2π.
245-
#[unstable(feature = "tau_constant", issue = "66770")]
245+
#[stable(feature = "tau_constant", since = "1.47.0")]
246246
pub const TAU: f32 = 6.28318530717958647692528676655900577_f32;
247247

248248
/// π/2

src/libcore/num/f64.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ pub mod consts {
242242
/// The full circle constant (τ)
243243
///
244244
/// Equal to 2π.
245-
#[unstable(feature = "tau_constant", issue = "66770")]
245+
#[stable(feature = "tau_constant", since = "1.47.0")]
246246
pub const TAU: f64 = 6.28318530717958647692528676655900577_f64;
247247

248248
/// π/2

0 commit comments

Comments
 (0)