Skip to content

Commit

Permalink
Resolve doc_lazy_continuation clippy lint
Browse files Browse the repository at this point in the history
    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.
        |     ++
  • Loading branch information
dtolnay committed May 23, 2024
1 parent f96f9d8 commit 4ea60ae
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -135,10 +135,10 @@ pub use crate::parse::Error;
/// comparison operators.
///
/// - The major, minor, and patch number are compared numerically from left to
/// right, lexicographically ordered as a 3-tuple of integers. So for example
/// version `1.5.0` is less than version `1.19.0`, despite the fact that
/// "1.19.0" < "1.5.0" as ASCIIbetically compared strings and 1.19 < 1.5
/// as real numbers.
/// right, lexicographically ordered as a 3-tuple of integers. So for example
/// version `1.5.0` is less than version `1.19.0`, despite the fact that
/// "1.19.0" < "1.5.0" as ASCIIbetically compared strings and 1.19 < 1.5
/// as real numbers.
///
/// - When major, minor, and patch are equal, a pre-release version is
/// considered less than the ordinary release: version `1.0.0-alpha.1` is
Expand Down

0 comments on commit 4ea60ae

Please # to comment.