From 365e1afec3b43e85a5b0db3db0ee7f0652beff73 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johanna=20S=C3=B6rng=C3=A5rd?= Date: Sun, 28 Jul 2024 21:33:13 +0200 Subject: [PATCH] Whitespace in function docstrings --- Cargo.lock | 2 +- src/accurate/mod.rs | 2 ++ src/fast/mod.rs | 2 ++ 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/Cargo.lock b/Cargo.lock index 87726c2..f322b5f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -19,7 +19,7 @@ checksum = "0c4b4d0bd25bd0b74681c0ad21497610ce1b7c91b1022cd21c80c6fbdd9476b0" [[package]] name = "lambert_w" -version = "0.2.0" +version = "0.2.1" dependencies = [ "approx", ] diff --git a/src/accurate/mod.rs b/src/accurate/mod.rs index edcb337..127af03 100644 --- a/src/accurate/mod.rs +++ b/src/accurate/mod.rs @@ -16,6 +16,7 @@ use super::Z0; /// /// ``` /// use lambert_w::accurate::lambert_w_0; +/// /// use approx::assert_abs_diff_eq; /// use core::f64::consts::PI; /// @@ -35,6 +36,7 @@ pub fn lambert_w_0(z: f64) -> Option { /// /// ``` /// use lambert_w::accurate::lambert_w_m1; +/// /// use approx::assert_abs_diff_eq; /// use core::f64::consts::PI; /// diff --git a/src/fast/mod.rs b/src/fast/mod.rs index 37a03f9..8451f51 100644 --- a/src/fast/mod.rs +++ b/src/fast/mod.rs @@ -14,6 +14,7 @@ use swm1::swm1; /// /// ``` /// use lambert_w::fast::lambert_w_0; +/// /// use approx::assert_abs_diff_eq; /// use core::f64::consts::PI; /// @@ -33,6 +34,7 @@ pub fn lambert_w_0(z: f64) -> Option { /// /// ``` /// use lambert_w::fast::lambert_w_m1; +/// /// use approx::assert_abs_diff_eq; /// use core::f64::consts::PI; ///