Kaynağa Gözat

Add the π symbol to the doc comment of PI.

Mara Bos 5 yıl önce
ebeveyn
işleme
ea47252ae1
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      src/float.rs

+ 1 - 1
src/float.rs

@@ -2291,7 +2291,7 @@ float_const_impl! {
     LOG10_E,
     #[doc = "Return `log2(e)`."]
     LOG2_E,
-    #[doc = "Return Archimedes’ constant."]
+    #[doc = "Return Archimedes’ constant `π`."]
     PI,
     #[doc = "Return `sqrt(2.0)`."]
     SQRT_2,