From 4ea60ae121bf0c8c5ad7e7aa5a9f663f305b7400 Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Wed, 22 May 2024 21:33:38 -0700 Subject: [PATCH] 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. | ++ --- src/lib.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index 64ceee46..de7b6906 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -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