about summary refs log tree commit diff
diff options
context:
space:
mode:
authorDenis Vasilik <contact@denisvasilik.com>2020-08-19 12:04:23 +0200
committerDenis Vasilik <contact@denisvasilik.com>2020-08-19 12:04:23 +0200
commitfb7d9170f4acdbaeb473198bebfc0c19aa60e9d4 (patch)
treeb3421c9c347d576d87177a165b519171bae0649f
parenta9297384783e12de389c8438d106a91b465a0606 (diff)
downloadrust-fb7d9170f4acdbaeb473198bebfc0c19aa60e9d4.tar.gz
rust-fb7d9170f4acdbaeb473198bebfc0c19aa60e9d4.zip
Use intra-doc links for f32::* and f64::*
-rw-r--r--library/core/src/intrinsics.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/library/core/src/intrinsics.rs b/library/core/src/intrinsics.rs
index d23e4a6ce94..8747d3c84f7 100644
--- a/library/core/src/intrinsics.rs
+++ b/library/core/src/intrinsics.rs
@@ -1526,22 +1526,22 @@ extern "rust-intrinsic" {
     /// Returns the minimum of two `f32` values.
     ///
     /// The stabilized version of this intrinsic is
-    /// [`std::f32::min`](../../std/primitive.f32.html#method.min)
+    /// [`std::f32::min`](f32::min)
     pub fn minnumf32(x: f32, y: f32) -> f32;
     /// Returns the minimum of two `f64` values.
     ///
     /// The stabilized version of this intrinsic is
-    /// [`std::f64::min`](../../std/primitive.f64.html#method.min)
+    /// [`std::f64::min`](f64::min)
     pub fn minnumf64(x: f64, y: f64) -> f64;
     /// Returns the maximum of two `f32` values.
     ///
     /// The stabilized version of this intrinsic is
-    /// [`std::f32::max`](../../std/primitive.f32.html#method.max)
+    /// [`std::f32::max`](f32::max)
     pub fn maxnumf32(x: f32, y: f32) -> f32;
     /// Returns the maximum of two `f64` values.
     ///
     /// The stabilized version of this intrinsic is
-    /// [`std::f64::max`](../../std/primitive.f64.html#method.max)
+    /// [`std::f64::max`](f64::max)
     pub fn maxnumf64(x: f64, y: f64) -> f64;
 
     /// Copies the sign from `y` to `x` for `f32` values.