mirror of
https://github.com/robertwayne/axum-htmx
synced 2024-11-29 14:44:33 +01:00
Allow clippy::too_long_first_doc_paragraph
This commit is contained in:
parent
5bcbc9cb10
commit
d31e2800a8
2 changed files with 1 additions and 2 deletions
|
@ -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`]
|
||||
|
|
|
@ -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::*;
|
||||
|
|
Loading…
Reference in a new issue