Allow clippy::too_long_first_doc_paragraph

This commit is contained in:
Rob Wagner 2024-10-18 20:48:14 -04:00
parent 5bcbc9cb10
commit d31e2800a8
No known key found for this signature in database
GPG key ID: 53CCB4497B15CF61
2 changed files with 1 additions and 2 deletions

View file

@ -28,8 +28,6 @@ use crate::{HxRequest, HxTarget, HxTrigger, HxTriggerName};
const MIDDLEWARE_DOUBLE_USE: &str = const MIDDLEWARE_DOUBLE_USE: &str =
"Configuration error: `axum_httpx::vary_middleware` is used twice"; "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) /// Addresses [htmx caching issues](https://htmx.org/docs/#caching)
/// by automatically adding a corresponding `Vary` header when /// by automatically adding a corresponding `Vary` header when
/// [`HxRequest`], [`HxTarget`], [`HxTrigger`], [`HxTriggerName`] /// [`HxRequest`], [`HxTarget`], [`HxTrigger`], [`HxTriggerName`]

View file

@ -1,6 +1,7 @@
#![cfg_attr(feature = "unstable", feature(doc_cfg))] #![cfg_attr(feature = "unstable", feature(doc_cfg))]
#![doc = include_str!("../README.md")] #![doc = include_str!("../README.md")]
#![forbid(unsafe_code)] #![forbid(unsafe_code)]
#![allow(clippy::too_long_first_doc_paragraph)]
mod error; mod error;
pub use error::*; pub use error::*;