Skip to content

Commit 45241f4

Browse files
Fix clippy::too_long_first_doc_paragraph lint (#63)
Co-authored-by: Sébastien Crozet <[email protected]>
1 parent 5beea0e commit 45241f4

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed

src/scalar/subset.rs

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,11 @@ use decimal::d128;
33
use num::Zero;
44
use num_complex::Complex;
55

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

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

0 commit comments

Comments
 (0)