diff options
| author | bors <bors@rust-lang.org> | 2023-08-21 20:28:17 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-08-21 20:28:17 +0000 |
| commit | ef85656a10657ba5e4f7fe2931a4ca6293138d51 (patch) | |
| tree | f6efb7879b57765520f235dacd4d6f005bc3e290 /library/std | |
| parent | fe5f5912579d02c4e6088c89574493dfa988531a (diff) | |
| parent | 59d94a9294739525ce1b24f6241eb87fa85e3a18 (diff) | |
| download | rust-ef85656a10657ba5e4f7fe2931a4ca6293138d51.tar.gz rust-ef85656a10657ba5e4f7fe2931a4ca6293138d51.zip | |
Auto merge of #115074 - matthiaskrgr:rollup-au2i7k0, r=matthiaskrgr
Rollup of 3 pull requests Successful merges: - #115044 (stable_mir: docs clarification) - #115054 (Fix syntax in E0191 explanation.) - #115067 (docs: add alias log1p to ln_1p) r? `@ghost` `@rustbot` modify labels: rollup
Diffstat (limited to 'library/std')
| -rw-r--r-- | library/std/src/f32.rs | 1 | ||||
| -rw-r--r-- | library/std/src/f64.rs | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/library/std/src/f32.rs b/library/std/src/f32.rs index a659b552f47..776899dbcfd 100644 --- a/library/std/src/f32.rs +++ b/library/std/src/f32.rs @@ -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")] diff --git a/library/std/src/f64.rs b/library/std/src/f64.rs index 721e1fb754e..4f4f5f02471 100644 --- a/library/std/src/f64.rs +++ b/library/std/src/f64.rs @@ -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")] |
