Skip to content

Commit

Permalink
Rollup merge of rust-lang#115067 - notriddle:log1p, r=thomcc
Browse files Browse the repository at this point in the history
  • Loading branch information
matthiaskrgr authored Aug 21, 2023
2 parents 66726fd + 88bd304 commit 59d94a9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions library/std/src/f32.rs
Original file line number Diff line number Diff line change
Expand Up @@ -822,6 +822,7 @@ impl f32 {
///
/// assert!(abs_difference < 1e-10);
/// ```
#[doc(alias = "log1p")]
#[rustc_allow_incoherent_impl]
#[must_use = "method returns a new number and does not mutate the original value"]
#[stable(feature = "rust1", since = "1.0.0")]
Expand Down
1 change: 1 addition & 0 deletions library/std/src/f64.rs
Original file line number Diff line number Diff line change
Expand Up @@ -822,6 +822,7 @@ impl f64 {
///
/// assert!(abs_difference < 1e-20);
/// ```
#[doc(alias = "log1p")]
#[rustc_allow_incoherent_impl]
#[must_use = "method returns a new number and does not mutate the original value"]
#[stable(feature = "rust1", since = "1.0.0")]
Expand Down

0 comments on commit 59d94a9

Please sign in to comment.