From d31e2800a884f463bc12d9331054e2ca167a5bdc Mon Sep 17 00:00:00 2001 From: Rob Wagner Date: Fri, 18 Oct 2024 20:48:14 -0400 Subject: [PATCH] Allow clippy::too_long_first_doc_paragraph --- src/auto_vary.rs | 2 -- src/lib.rs | 1 + 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/auto_vary.rs b/src/auto_vary.rs index e51eb20..cf861a2 100644 --- a/src/auto_vary.rs +++ b/src/auto_vary.rs @@ -28,8 +28,6 @@ use crate::{HxRequest, HxTarget, HxTrigger, HxTriggerName}; const MIDDLEWARE_DOUBLE_USE: &str = "Configuration error: `axum_httpx::vary_middleware` is used twice"; -/// Automatically adds a `Vary` header when needed. -/// /// Addresses [htmx caching issues](https://htmx.org/docs/#caching) /// by automatically adding a corresponding `Vary` header when /// [`HxRequest`], [`HxTarget`], [`HxTrigger`], [`HxTriggerName`] diff --git a/src/lib.rs b/src/lib.rs index fc1bd36..7500aff 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,6 +1,7 @@ #![cfg_attr(feature = "unstable", feature(doc_cfg))] #![doc = include_str!("../README.md")] #![forbid(unsafe_code)] +#![allow(clippy::too_long_first_doc_paragraph)] mod error; pub use error::*;