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::*;