From d1f9ec0f3a998581a833f647317a07e11eeacbfe Mon Sep 17 00:00:00 2001 From: V0ldek Date: Tue, 27 Aug 2024 20:09:57 +0200 Subject: [PATCH] split long doc comment in `approx_span` New clippy lint introduced in nightly (`clippy::too-long-first-doc-paragraph`) was being triggered on the top module comment for `result::approx_span`. --- crates/rsonpath-lib/src/result/approx_span.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/rsonpath-lib/src/result/approx_span.rs b/crates/rsonpath-lib/src/result/approx_span.rs index 4c165b81..29e24833 100644 --- a/crates/rsonpath-lib/src/result/approx_span.rs +++ b/crates/rsonpath-lib/src/result/approx_span.rs @@ -1,4 +1,5 @@ //! [`Recorder`] implementation finding the starts and approximate ends of all matches. +//! //! Faster than a full [`NodesRecorder`](super::nodes::NodesRecorder), but the span //! may include trailing whitespace after the actual matched value. use super::{output_queue::OutputQueue, *};