Stabilize TAU constant.

Closes #66770.
This commit is contained in:
Mara Bos 2020-07-10 12:08:32 +02:00
parent d3df8512d2
commit 5d4147a965
2 changed files with 2 additions and 2 deletions

View file

@ -242,7 +242,7 @@ pub mod consts {
/// The full circle constant (τ) /// The full circle constant (τ)
/// ///
/// Equal to 2π. /// Equal to 2π.
#[unstable(feature = "tau_constant", issue = "66770")] #[stable(feature = "tau_constant", since = "1.47.0")]
pub const TAU: f32 = 6.28318530717958647692528676655900577_f32; pub const TAU: f32 = 6.28318530717958647692528676655900577_f32;
/// π/2 /// π/2

View file

@ -242,7 +242,7 @@ pub mod consts {
/// The full circle constant (τ) /// The full circle constant (τ)
/// ///
/// Equal to 2π. /// Equal to 2π.
#[unstable(feature = "tau_constant", issue = "66770")] #[stable(feature = "tau_constant", since = "1.47.0")]
pub const TAU: f64 = 6.28318530717958647692528676655900577_f64; pub const TAU: f64 = 6.28318530717958647692528676655900577_f64;
/// π/2 /// π/2