Skip to content

Commit

Permalink
Fix clippy::too_long_first_doc_paragraph lint (#63)
Browse files Browse the repository at this point in the history
Co-authored-by: Sébastien Crozet <[email protected]>
  • Loading branch information
waywardmonkeys and sebcrozet authored Oct 29, 2024
1 parent 5beea0e commit 45241f4
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions src/scalar/subset.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,11 @@ use decimal::d128;
use num::Zero;
use num_complex::Complex;

/// Nested sets and conversions between them (using an injective mapping). Useful to work with
/// substructures. In generic code, it is preferable to use `SupersetOf` as trait bound whenever
/// possible instead of `SubsetOf` (because `SupersetOf` is automatically implemented whenever
/// `SubsetOf` is).
/// Nested sets and conversions between them (using an injective mapping).
///
/// Useful to work with substructures. In generic code, it is preferable to use `SupersetOf`
/// as trait bound whenever possible instead of `SubsetOf` (because `SupersetOf` is automatically
/// implemented whenever `SubsetOf` is).
///
/// The notion of "nested sets" is very broad and applies to what the types are _supposed to
/// represent_, independently from their actual implementation details and limitations. For
Expand Down Expand Up @@ -44,9 +45,11 @@ pub trait SubsetOf<T>: Sized {
fn is_in_subset(element: &T) -> bool;
}

/// Nested sets and conversions between them. Useful to work with substructures. It is preferable
/// to implement the `SubsetOf` trait instead of `SupersetOf` whenever possible (because
/// `SupersetOf` is automatically implemented whenever `SubsetOf` is).
/// Nested sets and conversions between them.
///
/// Useful to work with substructures. It is preferable to implement the `SubsetOf` trait instead
/// of `SupersetOf` whenever possible (because `SupersetOf` is automatically implemented whenever
/// `SubsetOf` is).
///
/// The notion of "nested sets" is very broad and applies to what the types are _supposed to
/// represent_, independently from their actual implementation details and limitations. For
Expand Down

0 comments on commit 45241f4

Please sign in to comment.