Skip to content

Commit

Permalink
Newline in long trait description
Browse files Browse the repository at this point in the history
  • Loading branch information
JSorngard committed Oct 5, 2024
1 parent 580967e commit 4943f4a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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;
Expand Down

0 comments on commit 4943f4a

Please sign in to comment.