Skip to content

Commit 4ea60ae

Browse files
committed
Resolve doc_lazy_continuation clippy lint
warning: doc list item missing indentation --> src/lib.rs:138:5 | 138 | /// right, lexicographically ordered as a 3-tuple of integers. So for example | ^ | = help: if this is supposed to be its own paragraph, add a blank line = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation = note: `-W clippy::doc-lazy-continuation` implied by `-W clippy::all` = help: to override `-W clippy::all` add `#[allow(clippy::doc_lazy_continuation)]` help: indent this line | 138 | /// right, lexicographically ordered as a 3-tuple of integers. So for example | ++ warning: doc list item missing indentation --> src/lib.rs:139:5 | 139 | /// version `1.5.0` is less than version `1.19.0`, despite the fact that | ^ | = help: if this is supposed to be its own paragraph, add a blank line = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation help: indent this line | 139 | /// version `1.5.0` is less than version `1.19.0`, despite the fact that | ++ warning: doc list item missing indentation --> src/lib.rs:140:5 | 140 | /// "1.19.0" < "1.5.0" as ASCIIbetically compared strings and 1.19 < 1.5 | ^ | = help: if this is supposed to be its own paragraph, add a blank line = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation help: indent this line | 140 | /// "1.19.0" < "1.5.0" as ASCIIbetically compared strings and 1.19 < 1.5 | ++ warning: doc list item missing indentation --> src/lib.rs:141:5 | 141 | /// as real numbers. | ^ | = help: if this is supposed to be its own paragraph, add a blank line = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation help: indent this line | 141 | /// as real numbers. | ++
1 parent f96f9d8 commit 4ea60ae

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/lib.rs

+4-4
Original file line numberDiff line numberDiff line change
@@ -135,10 +135,10 @@ pub use crate::parse::Error;
135135
/// comparison operators.
136136
///
137137
/// - The major, minor, and patch number are compared numerically from left to
138-
/// right, lexicographically ordered as a 3-tuple of integers. So for example
139-
/// version `1.5.0` is less than version `1.19.0`, despite the fact that
140-
/// "1.19.0" < "1.5.0" as ASCIIbetically compared strings and 1.19 < 1.5
141-
/// as real numbers.
138+
/// right, lexicographically ordered as a 3-tuple of integers. So for example
139+
/// version `1.5.0` is less than version `1.19.0`, despite the fact that
140+
/// "1.19.0" < "1.5.0" as ASCIIbetically compared strings and 1.19 < 1.5
141+
/// as real numbers.
142142
///
143143
/// - When major, minor, and patch are equal, a pre-release version is
144144
/// considered less than the ordinary release: version `1.0.0-alpha.1` is

0 commit comments

Comments
 (0)