From 4943f4a4817cd5dd736c549f86a1e522214701de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johanna=20S=C3=B6rng=C3=A5rd?= Date: Sat, 5 Oct 2024 14:25:10 +0200 Subject: [PATCH] Newline in long trait description --- src/lib.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index d8a5fab..b31486a 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -365,7 +365,8 @@ pub fn lambert_wm1f(z: f32) -> f32 { swm1f::swm1f(z) } -/// Enables evaluation of the principal and secondary branches of the Lambert W function with the types that implement this trait. +/// Enables evaluation of the principal and secondary branches of the Lambert W function +/// with the types that implement this trait. pub trait LambertW { /// The type returned by the Lambert W functions when acting on a value of type `Self`. type Output; @@ -387,7 +388,7 @@ impl LambertW for f32 { /// Delegates to the [`lambert_w0f`] function. /// /// # Example - /// + /// /// ``` /// # use approx::assert_abs_diff_eq; /// use lambert_w::LambertW;