Skip to content

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

library/std/src/f32.rs

+1
Original file line numberDiff line numberDiff line change
@@ -822,6 +822,7 @@ impl f32 {
822822
///
823823
/// assert!(abs_difference < 1e-10);
824824
/// ```
825+
#[doc(alias = "log1p")]
825826
#[rustc_allow_incoherent_impl]
826827
#[must_use = "method returns a new number and does not mutate the original value"]
827828
#[stable(feature = "rust1", since = "1.0.0")]

library/std/src/f64.rs

+1
Original file line numberDiff line numberDiff line change
@@ -822,6 +822,7 @@ impl f64 {
822822
///
823823
/// assert!(abs_difference < 1e-20);
824824
/// ```
825+
#[doc(alias = "log1p")]
825826
#[rustc_allow_incoherent_impl]
826827
#[must_use = "method returns a new number and does not mutate the original value"]
827828
#[stable(feature = "rust1", since = "1.0.0")]

0 commit comments

Comments
 (0)